shouya / rss-funnel

Self-hosted RSS multi-tool
https://rss-funnel-demo.fly.dev
GNU General Public License v3.0
112 stars 4 forks source link

Reverse proxy in context path (Apache) #159

Open samtux opened 1 day ago

samtux commented 1 day ago

Is it possible to configure a context path in docker for reverse proxy configuration?

Currently I have the following configuration but it gives me error.

RewriteEngine On                                                                                                                                
RewriteRule ^/rss$ /rss/ [R,L]                                                                                                                  

<Location "/rss/">                                                                                                                              
       ProxyPass        http://localhost:4080/ retry=0                                                                                             
       ProxyPassReverse http://localhost:4080/                                                                                                     
       RequestHeader    set X-Script-Name /rss                                                                                                     
</Location>             

Always redirect to: https://home.ts.net/_inspector/index.html

shouya commented 1 day ago

You can launch RSS funnel with RSS_FUNNEL_APP_BASE=https://home.ts.net/rss/ environment. Note that there is a bug with this variable in current stable release, so please ensure you're using nightly image.

I realized this is currently not possible. I need to add additional support for non-base path in the router layer. You can expect this feature in a future release.

samtux commented 1 day ago

Thanks for responding, I was kind of crazy trying to set it up.