Spotter-VM/seeddms/etc/nginx/conf.d/seeddms.conf

18 lines
595 B
Plaintext

server {
listen [::]:8810 ipv6only=off;
listen [::]:8410 ssl http2 ipv6only=off;
access_log /var/log/nginx/seeddms.access.log;
error_log /var/log/nginx/seeddms.error.log;
location / {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Host $host:$server_port;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-HTTPS $https;
proxy_set_header X-Forwarded-Server-Name $host;
proxy_set_header X-Forwarded-Server-Port $server_port;
proxy_pass http://127.0.0.1:8010;
}
}