Update page 'Home'

master
fox 3 years ago
parent 800db9e758
commit 30ea7a91a5

@ -72,7 +72,7 @@ location /tt-rss/ {
}
```
Note: if you run into problems with global PHP-to-FPM handler taking priority over proxied location, define tt-rss location like this so it takes higher priority:
###### If you run into problems with global PHP-to-FPM handler taking priority over proxied location, define tt-rss location like this so it takes higher priority:
```nginx
location ^~ /tt-rss/ {
@ -80,15 +80,27 @@ location ^~ /tt-rss/ {
}
```
If you want to pass entire nginx virtual host to tt-rss, put `/` in the location block:
###### If you want to pass an entire nginx virtual host to tt-rss:
```nginx
location / {
...
server {
server_name rss.example.com;
...
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://127.0.0.1:8280/;
break;
}
}
```
Note that `proxy_pass` goes to root in the container, as opposed to `/tt-rss/`.
##### Apache (this assumes you're using HTTPS):
```

Loading…
Cancel
Save