Reverse proxy with Prism

Badge +1

I am trying to have Nutanix portal sit behind a NGINX reverse proxy. I have it sort of working. If I try and go to, it will redirect to I tried adding a redirect but it doesn’t seem to be working. If I type the path, then it works.


server {
listen 443 ssl http2;

ssl_certificate /etc/letsencrypt/live/;
ssl_certificate_key /etc/letsencrypt/live/;
ssl_trusted_certificate /etc/letsencrypt/live/;
include snippets/ssl.conf;
include snippets/letsencrypt.conf;

location = / {
return 301;

location / {
proxy_intercept_errors on;
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;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";


0 replies

Be the first to reply!