compatible with nginx reverseproxy #196
Unanswered
samuelthapa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Can anyone help me to work panel with nginx block reverseproxy i tried but failed to work. method i used didnt work.
x-ui panel is working on xxxx port and can be accessed by domain.com:xxxx. i want to reconfigure it to work on domain.com/app as i made panel root url /app/. i know there should be done some tweak on x-ui but no idea while using v2-ui i changed the base path with the help of sqlite3 and used to work.
config i used are
location /app/ {
proxy_pass http://PanelListeningIP:2087/app/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
Beta Was this translation helpful? Give feedback.
All reactions