allowed index.html

This commit is contained in:
2025-11-16 13:54:39 +00:00
parent 06213302d7
commit 627184ad85

View File

@@ -8,10 +8,8 @@ http {
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
server_name _;
return 301 https://$host$request_uri;
}
@@ -21,11 +19,11 @@ http {
ssl_certificate_key /etc/letsencrypt/live/adam-french.co.uk/privkey.pem;
server_name adam-french.co.uk;
root /var/www/html;
index index.html;
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
}