Feedati/docker/nginx.conf
boyska efbcbc8204 tt-rss moved to /tt-rss/
also, state dirs are moved to /var/cache/ and /var/lock/, thus avoiding
their unneeded "copy" to host.
ICONS_DIR is still pointing to documentroot, so this is not yet
complete.
2018-08-09 23:51:31 +02:00

28 lines
879 B
Nginx Configuration File

server {
listen 80;
server_name _;
location = /rss-bridge {
rewrite /rss-bridge /rss-bridge/ permanent;
}
location /tt-rss {
resolver 127.0.0.11 ipv6=off;
proxy_pass http://tt-rss/tt-rss;
proxy_read_timeout 60s;
proxy_connect_timeout 4s;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /rss-bridge {
resolver 127.0.0.11 ipv6=off;
proxy_pass http://rss-bridge/;
proxy_read_timeout 60s;
proxy_connect_timeout 4s;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}