mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-06-08 01:39:54 +02:00
Update Home
parent
78b9040d29
commit
669c437e89
1 changed files with 329 additions and 342 deletions
35
Home.md
35
Home.md
|
@ -195,9 +195,9 @@ Similar issues may be also caused by Docker `iptables` functionality either bein
|
||||||
|
|
||||||
### How do I put this container behind a reverse proxy?
|
### How do I put this container behind a reverse proxy?
|
||||||
|
|
||||||
A common pattern is shared nginx doing SSL termination, etc. Don't forget to pass `X-Forwarded-Proto` to the container if you're using HTTPS, otherwise tt-rss would generate plain HTTP URLs.
|
- Don't forget to pass `X-Forwarded-Proto` to the container if you're using HTTPS, otherwise tt-rss would generate plain HTTP URLs.
|
||||||
|
- You will need to set ``SELF_URL_PATH`` to a correct (i.e. visible from the outside) value in the ``.env`` file.
|
||||||
Address and port correspond to `HTTP_PORT` in `.env`, default:
|
- Address and port correspond to `HTTP_PORT` in `.env`, default:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
HTTP_PORT=127.0.0.1:8280
|
HTTP_PORT=127.0.0.1:8280
|
||||||
|
@ -247,32 +247,19 @@ server {
|
||||||
|
|
||||||
Note that `proxy_pass` in this example points to container website root.
|
Note that `proxy_pass` in this example points to container website root.
|
||||||
|
|
||||||
##### Apache (this assumes you're using HTTPS):
|
##### Apache
|
||||||
|
|
||||||
```
|
```
|
||||||
a2enmod proxy
|
<IfModule mod_proxy.c>
|
||||||
a2enmod proxy_http
|
<Location /tt-rss>
|
||||||
```
|
|
||||||
|
|
||||||
```apache
|
|
||||||
<VirtualHost *>
|
|
||||||
ServerName domain.com
|
|
||||||
|
|
||||||
...
|
|
||||||
|
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
ProxyPass http://localhost:8280/tt-rss
|
||||||
|
ProxyPassReverse http://localhost:8280/tt-rss
|
||||||
RequestHeader set X-Forwarded-Proto https
|
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
||||||
|
</Location>
|
||||||
# Server IP + the exposed port of docker container
|
</IfModule>
|
||||||
ProxyPass / http://127.0.0.1:8280/
|
|
||||||
ProxyPassReverse / http://127.0.0.1:8280/
|
|
||||||
</VirtualHost>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
You will need to set ``SELF_URL_PATH`` to a correct (i.e. visible from the outside) value in the ``.env`` file.
|
|
||||||
|
|
||||||
### I have internal web services tt-rss is complaining about (URL is invalid, loopback address, disallowed ports)
|
### I have internal web services tt-rss is complaining about (URL is invalid, loopback address, disallowed ports)
|
||||||
|
|
||||||
Put your local services on the same docker network with tt-rss, then access them by service (= host) names, i.e. `http://rss-bridge/`.
|
Put your local services on the same docker network with tt-rss, then access them by service (= host) names, i.e. `http://rss-bridge/`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue