1. Jon Langevin
  2. Nginx Vhost

Commits

Jon Langevin  committed 0cc1dda

Disabling HTTPS, added 2 missing lines to HTTPS config

  • Participants
  • Parent commits 4201cd5
  • Branches default

Comments (0)

Files changed (2)

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

View file
  • Ignore whitespace
         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

View file
  • Ignore whitespace
         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;
+#}