Fix front webserver
This commit is contained in:
parent
638f839f3c
commit
f9a5a92dfd
1 changed files with 6 additions and 11 deletions
|
@ -2,17 +2,13 @@ server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
location /tt-rss {
|
location = /rss-bridge {
|
||||||
try_files $uri @tt-rss;
|
rewrite /rss-bridge /rss-bridge/ permanent;
|
||||||
}
|
|
||||||
location /rss-bridge {
|
|
||||||
try_files $uri @rss-bridge;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location @tt-rss {
|
location /tt-rss {
|
||||||
rewrite ^/tt-rss/(.*)$ /$1 break;
|
|
||||||
resolver 127.0.0.11 ipv6=off;
|
resolver 127.0.0.11 ipv6=off;
|
||||||
proxy_pass http://tt-rss/$request_uri;
|
proxy_pass http://tt-rss/;
|
||||||
proxy_read_timeout 60s;
|
proxy_read_timeout 60s;
|
||||||
proxy_connect_timeout 4s;
|
proxy_connect_timeout 4s;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
@ -20,10 +16,9 @@ server {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @rss-bridge {
|
location /rss-bridge {
|
||||||
rewrite ^/rss-bridge/(.*)$ /$1 break;
|
|
||||||
resolver 127.0.0.11 ipv6=off;
|
resolver 127.0.0.11 ipv6=off;
|
||||||
proxy_pass http://rss-bridge/$request_uri;
|
proxy_pass http://rss-bridge/;
|
||||||
proxy_read_timeout 60s;
|
proxy_read_timeout 60s;
|
||||||
proxy_connect_timeout 4s;
|
proxy_connect_timeout 4s;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
Loading…
Reference in a new issue