2017-12-19 20:27:51 +01:00
|
|
|
server {
|
2018-01-08 15:27:29 +01:00
|
|
|
listen [::]:8007 ipv6only=off;
|
|
|
|
listen [::]:8407 ssl http2 ipv6only=off;
|
2017-12-19 20:27:51 +01:00
|
|
|
|
2018-01-08 15:27:29 +01:00
|
|
|
access_log /var/log/nginx/openmapkit.access.log;
|
|
|
|
error_log /var/log/nginx/openmapkit.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:9007;
|
|
|
|
}
|
2017-12-19 20:27:51 +01:00
|
|
|
}
|