I’m trying to install Tiny Tiny RSS from the docker-compose image, on a Linux system behind nginx with HTTPS. I’ve cloned the repo https://git.tt-rss.org/fox/ttrss-docker-compose.git
, and am running docker-compose up
in that repo, with - SELF_URL_PATH=https://my.website/tt-rss/
as the only edit to docker-compose.yaml. I cloned the repo yesterday and the latest commit is 05d341df8946b88eb89a4a4e4ac1125abfe3e55e .
When I run with docker, and access https://my.website
, I get the Startup failed error page with the text Please set SELF_URL_PATH to the correct value detected for your server: https://my.website/tt-rss/
. This is of course what my SELF_URL_PATH is already set to, so I’m not sure why I’m having problems with this configuration.
My nginx site configuration file looks like:
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name my.website;
root /srv/http;
error_page 404 /custom_404.html;
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;
}
ssl_certificate /etc/letsencrypt/live/my.website/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/my.website/privkey.pem; # managed by Certbot
}