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;