From ae01cec5c77d6125a2137e8103e5f9e19b88cc51 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 16 Jul 2020 12:15:49 +0200 Subject: [PATCH] services: letsencrypt: dev version of blog --- letsencrypt/nginx/site-confs/default | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/letsencrypt/nginx/site-confs/default b/letsencrypt/nginx/site-confs/default index 238b833..1dd9e7a 100644 --- a/letsencrypt/nginx/site-confs/default +++ b/letsencrypt/nginx/site-confs/default @@ -35,6 +35,26 @@ server { } +# Debug version +server { + listen 443 ssl; + listen [::]:443 ssl; + + root /config/www/hugo-dev; + index index.html; + + server_name dev.belanyi.fr; + + # all ssl related config moved to ssl.conf + include /config/nginx/ssl.conf; + + client_max_body_size 0; + + location / { + try_files $uri $uri/ /index.html /index.php?$args =404; + } +} + # CV block server { listen 443 ssl;