Hello
I want to have tomcat with PWM 'hidden' in DMZ behind a nginx reverse proxy, which is also doing the SSL part.
This nginx configuration:
location /pwm {
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;
}
Gives mi redirect loops.
When is set the location to "/" and proxy to 8080/pwm recaptcha does not work at all.
All other times I just got 404 in logs and emplty pages.
I want to hide all of the tomcat's configuration etc. I just want to only expose the pwm app as a Virtual host e.g.
directory.example.com and over https.
Does anybode here have this or similar setup?
Thanks you