Commits

Jon Langevin committed 0cc1dda

Disabling HTTPS, added 2 missing lines to HTTPS config

  • Participants
  • Parent commits 4201cd5

Comments (0)

Files changed (2)

File .skel/vhost-default/conf/_https.conf

         listen   SERVERIP:443;
 
         ssl	on;
+        # The ssl/ folder here would be relative to nginx conf dir
+        ssl_certificate     ssl/DOMAIN.pem;
+        ssl_certificate_key ssl/DOMAIN.key;
 
         access_log VHOSTDIR/DOMAIN/log/access_ssl.log;
         error_log VHOSTDIR/DOMAIN/log/error_ssl.log warn;

File .skel/vhost-default/conf/nginx.conf

         include VHOSTDIR/DOMAIN/conf/_common.conf;
 }
 
-server {
-        include VHOSTDIR/DOMAIN/conf/_https.conf;
-        include VHOSTDIR/DOMAIN/conf/_common.conf;
-}
+## HTTPS is disabled by default, as an SSL cert is required to function
+#server {
+#        include VHOSTDIR/DOMAIN/conf/_https.conf;
+#        include VHOSTDIR/DOMAIN/conf/_common.conf;
+#}