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

18 lines
597 B
Plaintext
Raw Normal View History

2018-01-24 15:18:55 +01:00
server {
listen [::]:8814 ipv6only=off;
2018-01-24 15:18:55 +01:00
listen [::]:8414 ssl http2 ipv6only=off;
access_log /var/log/nginx/ushahidi.access.log;
error_log /var/log/nginx/ushahidi.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:8014;
2018-01-24 15:18:55 +01:00
}
}