-
Notifications
You must be signed in to change notification settings - Fork 545
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
Proxypass using Nginx proxy manager #76
Comments
Can you try with the latest version? |
Still not working, i think its my fault, because i have no idea or understanding on how to proxypass with a sub path. like i want example.com/gpt4all/ to proxy into local http://192.168.0.210:9600/ But it seems that the page loads but the assets are still trying to pull from base url wich is example.com and not example.com/gpt4all/ |
I am sorry for that. I don't have much experience with proxies. Thnx |
Unless the proxied app explicitly states it supports running from a sub path, don't proxypass it with a sub path. Prefix stripping is not enough. As you already noticed, normally frontend developers use '/'-starting uris to pull the resources the root path. If sub path needs to be supported, the frontend part will need a revamp to add a configurable path name before every resource uri. |
That is what i was afraid of, thank you for explaining. |
I have run the
app.py with --host 0.0.0.0
and can access the web ui from local machines, but when i try to proxypass and access it from domain, it shows in the console that the "GET / HTTP/1.1" 200 - but the web page is not loading. I mean its loading forever, but i cant access it.All it shows is this.
My proxy custom settings are:
For other sites this setup is working, here i dont know why its not.
I tried enabling websocket support, but that didnt help
Im by no means an expert in nginx, All my knowledge comes from googling around for solutions, given if i ask the right questions :)
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: