From a0fde5fe0769f4a972917164b863a3bc5dfc018b Mon Sep 17 00:00:00 2001 From: fox Date: Sat, 16 Nov 2019 08:20:36 +0000 Subject: [PATCH 1/3] Update 'README.md' --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index f73ab54..6cfda1a 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,22 @@ volumes: Copy and/or git clone any third party plugins into ``plugins.local`` as usual. +### How do I put this container behind a reverse proxy? + +A common pattern is shared nginx doing SSL termination, etc. + +``` + location /tt-rss/ { + 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/tt-rss/; + break; + } +``` + ### TODO - support for sending mail somehow (smtp mailer?) From 342400bae9e88bf6bec02293bac63aa38e5234f0 Mon Sep 17 00:00:00 2001 From: fox Date: Sat, 16 Nov 2019 08:24:18 +0000 Subject: [PATCH 2/3] Update 'README.md' --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6cfda1a..bdef659 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,8 @@ A common pattern is shared nginx doing SSL termination, etc. } ``` +You will need to set ``SELF_URL_PATH`` to a correct (i.e. visible from the outside) value in ``config.php`` inside the container. + ### TODO - support for sending mail somehow (smtp mailer?) From d34322a187df3685e8a022fc619adecd6e7afa74 Mon Sep 17 00:00:00 2001 From: fox Date: Sat, 16 Nov 2019 10:19:36 +0000 Subject: [PATCH 3/3] Update 'README.md' --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bdef659..62a7edd 100644 --- a/README.md +++ b/README.md @@ -90,9 +90,8 @@ You will need to set ``SELF_URL_PATH`` to a correct (i.e. visible from the outsi ### TODO - - support for sending mail somehow (smtp mailer?) - - properly deal with ``SELF_URL_PATH`` - +- [wiki/TODO](https://git.tt-rss.org/fox/ttrss-docker-compose/wiki/TODO) + ### Suggestions / bug reports - - [Forum thread](https://community.tt-rss.org/t/docker-compose-tt-rss/2894) +- [Forum thread](https://community.tt-rss.org/t/docker-compose-tt-rss/2894)