x86dev / docker-ttrss

Tiny Tiny RSS feed reader as a Docker image.
54 stars 41 forks source link

Add ENV var to allow skipping of self url path sanity checks when using a reverse proxy #44

Closed thenoseman closed 11 months ago

thenoseman commented 4 years ago

This is useful if you have a reverse proxy infront of the TT-RSS docker container and you get the error "Please set SELF_URL_PATH to the correct value detected for your server:" when accessing it.

When clicking an articles headline it expands to show a part of the actual article. Clicking on the headline again should send me to the original article URL. This is done by creating a new window and sending a POST to the URL set by the ENV var TTRSS_SELF_URL and friends. But when setting this var TT-RSS will not start up anymore but show the dreaded error:

Please set SELF_URL_PATH to the correct value detected for your server: ....

This PR add a ENV variable TTRSS_SKIP_SELF_URL_PATH_CHECKSwhich disables the TT-RSS self url path sanity checks.