Updated nginx conf to redirect to HTTPS site.

This commit is contained in:
Ian Adam Naval 2014-02-10 14:06:27 -05:00
parent 413e655f7a
commit 762a42e227

View File

@ -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;