diff --git a/conf/nginx.conf b/conf/nginx.conf index 69329bb..e74cc14 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -89,6 +89,10 @@ http { ssl_certificate /var/www/certs/webdevcat.me/fullchain.pem; ssl_certificate_key /var/www/certs/webdevcat.me/privkey.pem; + location ^~ /.well-known/acme-challenge { + alias /var/www/dehydrated; + } + location / { return 301 https://miti.sh$request_uri; }