From 762a42e2279c4f8b0402a6ac3ba6404fccf3124c Mon Sep 17 00:00:00 2001 From: Ian Adam Naval Date: Mon, 10 Feb 2014 14:06:27 -0500 Subject: [PATCH] Updated nginx conf to redirect to HTTPS site. --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2e76bf4..4baab0e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,7 +11,7 @@ server { error_log /var/log/nginx/ianonavy.error.log; if ($host != 'ianonavy.com') { - rewrite ^/(.*)$ http://ianonavy.com/$1 permanent; + rewrite ^/(.*)$ https://ianonavy.com/$1 permanent; } root /var/sites/ianonavy.com/www;