I've tried a couple of times now to setup the panel itself as an reverse proxy, as it wont bind to my domain properly, but when it's setup the popups are just pasting below like this?
My config.
#PROXY-START/
location ~* .(php|jsp|cgi|asp|aspx)$
{
proxy_pass http://public-ip:8888;
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 REMOTE-HOST $remote_addr;
}
location /
{
proxy_pass http://public-ip:8888;
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 REMOTE-HOST $remote_addr;
#Persistent connection related configuration
add_header X-Cache $upstream_cache_status;
#Set Nginx Cache
add_header Cache-Control no-cache;
expires 12h;
}
#PROXY-END/
My idea with it is that I want aaPanel to be accessible on a sub-domain, but I've not been able to figure it out yet.
What am I doing wrong here 😅