15 lines
427 B
Plaintext
15 lines
427 B
Plaintext
|
server {
|
||
|
listen [::]:8014 ipv6only=off;
|
||
|
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_pass http://127.0.0.1:9014;
|
||
|
}
|
||
|
}
|