pwm behind a nginx SSL proxy

695 views
Skip to first unread message

Peter Huncar

unread,
Dec 15, 2013, 6:13:26 PM12/15/13
to pwm-g...@googlegroups.com
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_pass                                         http://10.10.10.39:8080/pwm/;
    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

Menno Pieters

unread,
Dec 16, 2013, 4:05:17 PM12/16/13
to pwm-g...@googlegroups.com


--
You received this message because you are subscribed to the Google Groups "pwm-general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pwm-general...@googlegroups.com.
To post to this group, send email to pwm-g...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pwm-general/0f811bba-1cff-42b4-b76e-1889e8e35106%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages