From a0fde5fe0769f4a972917164b863a3bc5dfc018b Mon Sep 17 00:00:00 2001 From: fox Date: Sat, 16 Nov 2019 08:20:36 +0000 Subject: [PATCH] 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?)