October 18, 2012 07:32AM
Thanks Maxim for your help. But then where to write this proxy_pass:

proxy_pass http://www_serveriai_80;

And still, going further in my site, https drops off and i'm being left only with http. How to permanently stay on https, but in this location:

location /SomeService {
proxy_method POST;
proxy_pass http://10.255.6.120:8080/SomeService;
proxy_set_header Host $http_host;

to stay always on http.
Thanks

Regards,
Karolis
Subject Author Posted

rewrite all locations to https except one

karolis October 18, 2012 05:17AM

Re: rewrite all locations to https except one

Maxim Dounin October 18, 2012 05:24AM

Re: rewrite all locations to https except one

karolis October 18, 2012 07:32AM

Re: rewrite all locations to https except one

Maxim Dounin October 18, 2012 08:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 312
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready