Setup https for Light VM for light.ccchh.net

This commit is contained in:
julian 2023-01-12 23:36:57 +01:00
commit 239b9b9689
5 changed files with 45 additions and 10 deletions

View file

@ -0,0 +1,14 @@
server {
listen 80 default_server;
#listen [::]:80 default_server;
server_name _;
location /.well-known/acme-challenge/ {
autoindex on;
root /webroot-for-acme-challenge;
}
location / {
return 301 https://$host$request_uri;
}
}