mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-08 11:09:53 +02:00
Update page 'Home'
parent
800db9e758
commit
30ea7a91a5
1 changed files with 17 additions and 5 deletions
20
Home.md
20
Home.md
|
@ -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
|
```nginx
|
||||||
location ^~ /tt-rss/ {
|
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
|
```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):
|
##### Apache (this assumes you're using HTTPS):
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue