forcing ssl
authorLisa Marie Maginnis <lisam@fsf.org>
Mon, 29 Feb 2016 02:58:33 +0000 (21:58 -0500)
committerLisa Marie Maginnis <lisam@fsf.org>
Mon, 29 Feb 2016 02:58:33 +0000 (21:58 -0500)
files/etc/nginx/sites-available/mediagoblin/DEFAULT

index 5b02cd9..0985e39 100644 (file)
@@ -5,10 +5,10 @@ server {
     include    /etc/nginx/mediagoblin-common.conf;
 
     ## redirect http to https ##
-    #rewrite        ^ https://$server_name$request_uri? permanent;
+    rewrite        ^ https://$server_name$request_uri? permanent;
 
     access_log  /var/log/nginx/GMG_FQDN_TOKEN-ssl.access.log;
-     error_log  /var/log/nginx/GMG_FQDN_TOKEN-ssl.error.log; 
+    error_log  /var/log/nginx/GMG_FQDN_TOKEN-ssl.error.log;
 }
 
 server {