Skip to content

Navigation Menu

Sign in
Sign up

html2rss-web running on Docker behind an Apache reverse proxy #933

Discussion options

Hello,
I've been trying for days to get html2rss running on Docker behind an Apache reverse proxy.
I've made the following settings in my Apache:

<Location /html2rss>
 ProxyPreserveHost On
 ProxyPass http://172.16.0.16:3000/
 ProxyPassReverse http://172.16.0.16:3000/ 
 RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
</Location>

172.16.0.16 is the fixed internal IP address of my Docker container.
When I now call up the page with https://domain.tlb/html2rss, the page loads, but the link to, for example,
water.css is in the page https://domain.tlb/water.css, but should be https://domain.tlb/html2rss/water.css.

I have found out that the following settings must be made in the Puma config:

config.relative_url_root = "/html2rss"
config.action_controller.relative_url_root = "/html2rss"

But I don't know where to enter this?

I would appreciate some help.

Stefan

You must be logged in to vote

Running on a /subpath is not supported.

Replies: 1 comment

Comment options

Running on a /subpath is not supported.

You must be logged in to vote
0 replies
Answer selected by gildesmarais
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /