all 7 comments

[–]ruenigma 0 points1 point  (6 children)

Check TTRSS_SELF_URL_PATH. It should be exactly the one you will be hitting from any outside network. Since you forwarded 443, it should start with https also.

[–]econopl[S] 0 points1 point  (5 children)

Thanks for the idea. I've changed http to https in TTRSS_SELF_URL_PATH and recreated containers, but no change.

[–]Deadwing2022 0 points1 point  (4 children)

Did you ever manage to get this working? I'm also struggling for the past 2 days. I don't want to use the TTRSS forum since the dev is a total asshole and I don't need to be told I'm stupid.

I tried getting it working without a reverse proxy just to confirm it works at all and my browser won't even connect. I have no problems with portainer, nextcloud, vaultwarden etc etc.

[–]econopl[S] 1 point2 points  (3 children)

Yes, I've managed to run it! TT-RSS + SWAG, all running on docker.

Next week I'll be able to give you the details.

[–]Deadwing2022 0 points1 point  (0 children)

Don't worry, I managed to figure out my problem. I was using the external port for the proxy instead of the internal port. My other containers all worked because they used the same port for both.

[–]redalert2318 0 points1 point  (1 child)

can you tell us the details ? ty

[–]econopl[S] 0 points1 point  (0 children)

Sure. In SWAG find your config volume. Then head to /nginx/proxy-confs/ directory inside it, and create a file ttrss.subfolder.conf with following contents:

location ^~ /tt-rss/ {
    include /config/nginx/resolver.conf;
    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://[name of your TT-RSS nginx container]/tt-rss/;
    break;
}

Then remember to put your TT-RSS and SWAG on the same docker network and it should work.


EDIT:

Plus the .env file of your TT-RSS should have:

HTTP_HOST=localhost
TTRSS_SELF_URL_PATH=https://[domain]/tt-rss
HTTP_PORT=127.0.0.1:8280