2018-01-27 22:26:37 +01:00
|
|
|
server {
|
2018-02-01 14:55:24 +01:00
|
|
|
listen [::]:8801 ipv6only=off;
|
2018-01-27 22:26:37 +01:00
|
|
|
listen [::]:8401 ssl http2 ipv6only=off;
|
|
|
|
|
|
|
|
access_log /var/log/nginx/sahana.access.log;
|
|
|
|
error_log /var/log/nginx/sahana.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;
|
2018-02-01 14:55:24 +01:00
|
|
|
proxy_pass http://127.0.0.1:8001;
|
2018-01-27 22:26:37 +01:00
|
|
|
}
|
|
|
|
}
|