location / {
rewrite ^ https://pwm.domain.com/pwm/ last;
#proxy_redirect http://10.10.10.24:8080 https://pwm.domain.com;
}
location /pwm {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_max_temp_file_size 0;
proxy_buffering off;
proxy_connect_timeout 30;
proxy_send_timeout 30;
proxy_read_timeout 30;
proxy_redirect http://10.10.10.24:8080 https://pwm.domain.com;
proxy_pass http://10.10.10.24:8080/;
}
--
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/133241e2-f737-490a-bb59-47b1231ffbd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.