From c49e0fbb800af83c1eb81ba2e4d0d9e661e24e9a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Wed, 13 Jan 2021 16:38:19 +0100 Subject: [PATCH] services: swag: subdomain for key files --- swag/nginx/site-confs/default | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/swag/nginx/site-confs/default b/swag/nginx/site-confs/default index a444878..7e3607e 100644 --- a/swag/nginx/site-confs/default +++ b/swag/nginx/site-confs/default @@ -79,6 +79,21 @@ server { client_max_body_size 0; } +# Keys +server { + listen 443 ssl; + listen [::]:443 ssl; + + root /config/www/key; + + server_name key.*; + + # all ssl related config moved to ssl.conf + include /config/nginx/ssl.conf; + + client_max_body_size 0; +} + # enable subdomain method reverse proxy confs include /config/nginx/proxy-confs/*.subdomain.conf; # enable proxy cache for auth