-
Notifications
You must be signed in to change notification settings - Fork 258
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
Add support for reverse proxy #102
Comments
I'm behind a reverse proxy and have no issues. Pfsense for router with Cloudflare, server is unraid and using Nginx Proxy Manager. |
What you do is something different. Of course it works behind a reverse proxy and a separate sub domain. But it won't work if you require a non root path. |
@T3rm1 Are you able to see if my PR fixes your issue? It will not serve the files for you under the new basepath though, you will have to configure a reverse proxy to do that for you. Let me know if this is a problem, and I can make it update the container's webserver to serve under the specified base path. |
I checkout out your branch and tested it but it doesn't work. JS and CSS files are sill requested from root path which won't work. |
Self hosting is currently only possible if you don't have a path in the url because all links are absolute. This makes it impossible to use a reverse proxy to map to e.g. https://www.example.com/chatpadai/
Please add support for this. You might want to take a look at the documentation of the base tag.
The text was updated successfully, but these errors were encountered: