Question
Access Vsphere web client using Nginx reverse proxy
We have a deployment scenario where in we want to expose a public url and behind that access vcenter web client through Nginx using reverse proxy. Currently we are only able to access the login page which gets stuck when we enter the credentials.
Following is our conf file:
server {
listen 80;
servername localhost;
#accesslog logs/host.access.log main;
location / {
root html;
index index.html index.htm;
resolver DNS server;
proxy_pass vecenter IP;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×