Hi people.
I am configuring Nginx to publish my Internal portal.
My portal is hosted on my server https://x.x.x.x:8443
the principal url of this protal is https://x.x.x.x:8443/pwm/private/login.
This URL I don't need to publish.
inside this portal I have another URL that I would like to publish
ction: 1; mode=block
< X-Content-Type-Options: nosniff
< Referrer-Policy: no-referrer-when-downgrade
< Content-Security-Policy: default-src * data: 'unsafe-eval'
'unsafe-inline'
< Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
<
* Connect
;
#proxy_set_header Host $host;
}
when I run the curl -v command I have this output.
root@ubuntu-server:/home/agomes# curl -v https://x.x.x.x/app
* Trying 65.39.150.151:443...
* Connected to x.x.x.x (x.x.x.x) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
Hi Francis,
Follow the curl -v
###
root@ubuntu-server:/home/agomes# curl -v
https://x.x.x.x/app?stickyRedirectTest=key
* Trying x.x.x.x:443...
* Connected to x.x.x.x (x.x.x.x) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify
Hi,
Now my configuration is like below:
location /app/ {
proxy_pass https://myappp;
#rewrite ^/(.*)/pwm/public$ /$1 break;
proxy_redirect https://resetpass/pwm/public/forgottenpassword /app/;
#proxy_set_header Host $host;
#proxy_cookie_path ~^/pwm/* /app;
}
locat