Feedati/docker/nginx.conf

29 lines
873 B
Nginx Configuration File
Raw Normal View History

2018-07-31 16:36:00 +02:00
server {
listen 80;
server_name _;
2018-07-31 17:09:22 +02:00
location = /rss-bridge {
rewrite /rss-bridge /rss-bridge/ permanent;
2018-07-31 16:36:00 +02:00
}
2018-07-31 17:09:22 +02:00
location /tt-rss {
2018-07-31 16:36:00 +02:00
resolver 127.0.0.11 ipv6=off;
2018-07-31 17:09:22 +02:00
proxy_pass http://tt-rss/;
2018-07-31 16:36:00 +02:00
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;
}
2018-07-31 17:09:22 +02:00
location /rss-bridge {
2018-07-31 16:36:00 +02:00
resolver 127.0.0.11 ipv6=off;
2018-07-31 17:09:22 +02:00
proxy_pass http://rss-bridge/;
2018-07-31 16:36:00 +02:00
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;
}
}