Messages per Month
| From | Sent On | Attachments |
|---|---|---|
| David J. | Feb 8, 2011 8:03 am | |
| Luit van Drongelen | Feb 8, 2011 8:06 am | |
| David J. | Feb 8, 2011 8:12 am | |
| Luit van Drongelen | Feb 8, 2011 8:32 am | |
| António P. P. Almeida | Feb 8, 2011 8:38 am | |
| David J. | Feb 8, 2011 8:39 am |
| Subject: | Re: Forcing SSL; | |
|---|---|---|
| From: | David J. (dav...@styleflare.com) | |
| Date: | Feb 8, 2011 8:12:53 am | |
| List: | ru.sysoev.nginx | |
Wouldn't that create an infinite loop?
shouldnt that be wrapped in an if statement?
if($scheme == http){
rewrite ^ https://example.com$request_uri? break;
}
On 2/8/11 11:07 AM, Luit van Drongelen wrote:
On Tue, Feb 8, 2011 at 5:05 PM, David J.<dav...@styleflare.com> wrote:
What is the best way to force all connections to use SSL?
I use a separate server block like this:
server { server_name example.com; rewrite ^ https://example.com$request_uri? break; }
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx





