Welcome! Log In Create A New Profile

Advanced

Re: rewrite all locations to https except one

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
SubjectAuthorPosted

rewrite all locations to https except one

karolisOctober 18, 2012 05:17AM

Re: rewrite all locations to https except one

Maxim DouninOctober 18, 2012 05:24AM

Re: rewrite all locations to https except one

karolisOctober 18, 2012 07:32AM

Re: rewrite all locations to https except one

Maxim DouninOctober 18, 2012 08:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 5 on December 17, 2014
Record Number of Guests: 154 on December 17, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready