2017-12-20 15:41:29 +01:00
|
|
|
server {
|
2018-01-08 15:27:29 +01:00
|
|
|
listen [::1]:8004 ipv6only=off;
|
|
|
|
|
|
|
|
access_log /var/log/nginx/ckan-datapusher.access.log;
|
|
|
|
error_log /var/log/nginx/ckan-datapusher.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:9004;
|
|
|
|
}
|
2017-12-20 15:41:29 +01:00
|
|
|
}
|