Hi,
I can't get my reverse proxy to work in order to access Proxmox via http(s)://domain.name/proxmox.
However, if I edit the configuration "location /proxmox" to "location /" then I can access it via http(s)://domain.name/, but I'd rather use /proxmox instead of having it at the "root".
I have other reverse proxies setup the same way, but in most of these applications I've been able to set "URL Base", so I assume this is what is needed to do in Proxmox as well but I'm not able to find such an option. Or is it possible to configure Nginx with a RequestHeader somehow?
Nginx configuration:
Note: I'm not able to post with real URL's because I'm a new member, so http(s) actually means https.
Thanks
I can't get my reverse proxy to work in order to access Proxmox via http(s)://domain.name/proxmox.
However, if I edit the configuration "location /proxmox" to "location /" then I can access it via http(s)://domain.name/, but I'd rather use /proxmox instead of having it at the "root".
I have other reverse proxies setup the same way, but in most of these applications I've been able to set "URL Base", so I assume this is what is needed to do in Proxmox as well but I'm not able to find such an option. Or is it possible to configure Nginx with a RequestHeader somehow?
Nginx configuration:
Code:
server {
listen 443 ssl;
server_name domain.name;
ssl on;
location /proxmox {
proxy_pass http(s)://10.10.10.5:8006;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# Enable proxy websockets for the noVNC console to work
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}
Note: I'm not able to post with real URL's because I'm a new member, so http(s) actually means https.
Thanks