Hi all,
Setup Nginx and all is working fine. However, in my testing I did a:
if ($ssl_protocol = "") {
rewrite ^ http://$host$request_uri? permanent;
}
and hit some URL's. As configured all http requests were rewriten to https.
However, now I'm in need to remove this. I removed the line but any previously visited URL's that have been redirected to https still go to https.
I searched all over the net and some suggested to clear caches, but any browser cache refresh, even any cache removal on nginx, etc. doesn't work. As soon as I revert back to Apache it works again, so I'm guessing this is somewhere cached within nginx. However, I don't see where.
Any help greatly appreciated.
System:
Ubuntu 14.04
Nginx 1.4.6
Setup Nginx and all is working fine. However, in my testing I did a:
if ($ssl_protocol = "") {
rewrite ^ http://$host$request_uri? permanent;
}
and hit some URL's. As configured all http requests were rewriten to https.
However, now I'm in need to remove this. I removed the line but any previously visited URL's that have been redirected to https still go to https.
I searched all over the net and some suggested to clear caches, but any browser cache refresh, even any cache removal on nginx, etc. doesn't work. As soon as I revert back to Apache it works again, so I'm guessing this is somewhere cached within nginx. However, I don't see where.
Any help greatly appreciated.
System:
Ubuntu 14.04
Nginx 1.4.6