-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run rss-proxy behind an nginx reverse proxy #39
Comments
You can use a single domain to serve both the proxy as well as the "playground" (which runs in a development server which is not tested for security problems so make sure to put it behind a password). The following example assumes that:
Use something along these lines:
If you wonder what is in those referenced included files:
|
Sry for the late response. Do you mind checking again with the new version 2? I added my ngix.conf reverse proxy |
Can i run it directly from code without creating docker image? |
having the same problem with version 2. still don't work with nginx-proxy-manager.
|
I fixed this some time back by using a subdomain rather than a subfolder. Hope that helps. |
fixed also for me as I was not forwarding the internal port instead of the external port in nginx. you can close the issue |
made further research about the Docker requirements for rss-proxy to work with your other Docker containers. |
Great tool.
Been struggling a bit to get rss-proxy to run behind an nginx reverse proxy (SWAG). The issue that arises is that rss-proxy appears to redirect to the root directory of the web server. Runs fine without the reverse proxy (http://ip_address:3000) but is exposed to the world.
My configuration:
rss-proxy running in a docker container
SWAG as the nginx reverse proxy also running in a docker container
I've used the reverse proxy to rewrite some portions of the html to route to the correct source (from / to /rss-proxy) and this gets the rendering of the page partially completed. This results in the below page source. The left panel comes up fine (Please enter the URL of the website you want an RSS Feed from) however, a call to core.js.pre-build-optimizer.js causes the right panel to fail
Http failure during parsing for https://redacted_domain_name/
Most likely the website is JavaScript generated, which is not supported by rss-proxy directly. Check the documentation for further help
Again it returns a reference back to the root directory of the web server and does not allow nginx 'sub_filter' command to make replacements.
Any help much appreciated.
================================================
nginx proxy-confs snippet:
================================================
proxied page source:
<!doctype html>
<title>RSS-proxy playground</title> <script src="rss-proxy/runtime-es2015.cdfb0ddb511f65fdc0a0.js" type="module"></script><script src="rss-proxy/runtime-es5.cdfb0ddb511f65fdc0a0.js" nomodule defer></script><script src="rss-proxy/polyfills-es5.790a3785e4df737dcc1e.js" nomodule defer></script><script src="rss-proxy/polyfills-es2015.9f9a7e9d82395a8b4bf0.js" type="module"></script><script src="rss-proxy/main-es2015.73d3d495c2160e54d3e6.js" type="module"></script><script src="rss-proxy/main-es5.73d3d495c2160e54d3e6.js" nomodule defer></script>================================================
core.js.pre-build-optimizer.js error - fetching content from web root...
ERROR Error: Uncaught (in promise): Up: {"headers":{"normalizedNames":{},"lazyUpdate":null},"status":200,"statusText":"OK","url":"https://redacted_domain_name/","ok":false,"name":"HttpErrorResponse","message":"Http failure during parsing for https://redacted_domain_name/","error":{"error":{},"text":"<html lang="en"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover"><meta ...
The text was updated successfully, but these errors were encountered: