lookyloo/etc/nginx/sites-available/lookyloo

17 lines
432 B
Plaintext

server {
listen 80;
server_name server_domain_or_IP;
client_max_body_size 16M;
location / {
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X_FORWARDED_PROTO $scheme;
proxy_connect_timeout 300;
proxy_read_timeout 300;
proxy_pass http://localhost:5100/;
}
}