My nginx.conf
location /admin/ {
proxy_buffering off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass https://myproxydomain.com:3000;
}
I would like to have all my pages from mentioned proxy_pass url, as https://subdomain.example.com/admin/sign
But the moment, I was trying to access signin page (signin page which is in proxy_pass url), it is serving as https://subdomain.example.com/sign
Any inputs would be appreciated!