Skip to content
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

[HELP] Site root in a sub folder - how to proxy that? #436

Open
rdavey228 opened this issue Dec 20, 2024 · 6 comments
Open

[HELP] Site root in a sub folder - how to proxy that? #436

rdavey228 opened this issue Dec 20, 2024 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@rdavey228
Copy link

I want to proxy to a sub folder, how do I do that? Ive tried with Virtual directory but not sure if thats the right thing to do?

I have a HTTP proxy going to zabbix.mydomain.com proxying to 172.28.8.143:80. However the actual root of the site is at 172.28.8.143/zabbix.

How do I get my zabbix.mydomain.com to point to /zabbix without having to type the sub folder into the URL manually?

@rdavey228 rdavey228 added the help wanted Extra attention is needed label Dec 20, 2024
@tobychui
Copy link
Owner

@rdavey228 Use 172.28.8.143:80/zabbix as your destination when creating a proxy rule.

@rdavey228
Copy link
Author

Doesn't work. Still defaults to the root directory.

Screenshot 2024-12-21 at 08 17 32

@tobychui
Copy link
Owner

tobychui commented Dec 21, 2024

@rdavey228 That is the official way to serve a website under subfolder. If it doesn't work, check your upstream configuration or cache (if you are using cloudflare)

@rdavey228
Copy link
Author

Cache is cleared, this is all local no cloud flare involved.

This works fine with NGINX Proxy Manager

Screenshot 2024-12-21 at 09 55 45 Screenshot 2024-12-21 at 09 56 59

And here's my Zoraxy config

Screenshot 2024-12-21 at 08 17 32

@rdavey228
Copy link
Author

Any more info on this to get it working as it should be?

@tobychui
Copy link
Owner

Without additional info like http / network tracing file there isn't much I can do for you. Seek help from your local IT professional and if it is an issue related to a bug in Zoraxy, please feel free to open a bug issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants
@rdavey228 @tobychui and others