2018-01-02 11:19:00 +01:00
|
|
|
server {
|
2018-02-01 14:55:24 +01:00
|
|
|
listen [::]:8809 ipv6only=off;
|
2018-01-08 15:27:29 +01:00
|
|
|
listen [::]:8409 ssl http2 ipv6only=off;
|
2018-01-02 11:19:00 +01:00
|
|
|
|
2018-01-08 15:27:29 +01:00
|
|
|
access_log /var/log/nginx/kanboard.access.log;
|
|
|
|
error_log /var/log/nginx/kanboard.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-02 21:04:12 +01:00
|
|
|
proxy_set_header X-Forwarded-HTTPS $https;
|
|
|
|
proxy_set_header X-Forwarded-Server-Name $host;
|
|
|
|
proxy_set_header X-Forwarded-Server-Port $server_port;
|
2018-02-01 14:55:24 +01:00
|
|
|
proxy_pass http://127.0.0.1:8009;
|
2018-01-08 15:27:29 +01:00
|
|
|
}
|
2018-01-02 11:19:00 +01:00
|
|
|
}
|