2018-01-18 13:39:39 +01:00
|
|
|
server {
|
2018-01-27 22:35:55 +01:00
|
|
|
listen [::]:8002 ipv6only=off;
|
|
|
|
listen [::]:8402 ssl http2 ipv6only=off;
|
2018-01-18 13:39:39 +01:00
|
|
|
|
|
|
|
access_log /var/log/nginx/pandora.access.log;
|
|
|
|
error_log /var/log/nginx/pandora.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_pass http://127.0.0.1:9011;
|
|
|
|
}
|
|
|
|
}
|