aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/nginx/templates/etc_nginx_sites-available_default.j212
1 files changed, 5 insertions, 7 deletions
diff --git a/roles/nginx/templates/etc_nginx_sites-available_default.j2 b/roles/nginx/templates/etc_nginx_sites-available_default.j2
index 70c5a74..881b177 100644
--- a/roles/nginx/templates/etc_nginx_sites-available_default.j2
+++ b/roles/nginx/templates/etc_nginx_sites-available_default.j2
@@ -6,15 +6,13 @@ server {
listen [::]:80 default_server;
server_name _;
- # SSL configuration
- #
- # listen 443 ssl default_server;
- # listen [::]:443 ssl default_server;
- #
+ # SSL configuration (fall through)
+ listen 443 ssl default_server;
+ listen [::]:443 ssl default_server;
+
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
- #
- # include snippets/snakeoil.conf;
+ include snippets/snakeoil.conf;
root /srv/http/default/www;