diff --git a/2.Common_services/5.Nginx/vhost_msmonitor.conf b/2.Common_services/5.Nginx/vhost_msmonitor.conf index df5fcd1546bc86d2c8546d2ca89e661a74384d0b..9d29ff1e0aff34ae946123dbc255bb0127663076 100644 --- a/2.Common_services/5.Nginx/vhost_msmonitor.conf +++ b/2.Common_services/5.Nginx/vhost_msmonitor.conf @@ -2,6 +2,11 @@ server { listen 80; server_name {{ server_name }}; + #location '/.well-known/acme-challenge' { + # default_type "text/plain"; + # root /tmp/letsencrypt; + #} + rewrite ^ https://$host$request_uri? permanent; } @@ -13,6 +18,10 @@ server { access_log /var/log/nginx/access_msmonitor.log; error_log /var/log/nginx/error_msmonitor.log; + #ssl_certificate /etc/letsencrypt/live/{{ server_name }}/fullchain.pem; + #ssl_certificate_key /etc/letsencrypt/live/{{ server_name }}/privkey.pem; + + location /media { } location /static {