From 20636f4ffbc802565b85e664d37051f9488b3d71 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 16 Sep 2018 23:38:33 +0200 Subject: [PATCH] suite --- config/nginx.conf | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/nginx.conf b/config/nginx.conf index bd300db..3410664 100644 --- a/config/nginx.conf +++ b/config/nginx.conf @@ -31,15 +31,19 @@ server { error_page 500 502 503 504 /500.html; client_max_body_size 4G; keepalive_timeout 10; + + include snippets/letsencrypt.conf; } - server { listen [::]:80; server_name ballalama.com www.ballalama.com ballalama3.quartz.xyz; - rewrite ^(.*) https://ballalama.com$1 permanent; -} + + return 301 https://ballalama.com$request_uri; + + include snippets/letsencrypt.conf; +} \ No newline at end of file