jean-cloud-services/sites-enabled.vandamme/proxy
2024-01-02 17:50:14 +01:00

18 lines
348 B
Plaintext

server{
listen 80 default_server;
listen [::]:80 default_server;
location '/.well-known/acme-challenge' {
root /var/www/letsencrypt;
default_type "text/plain";
try_files $uri $uri/ =404;
}
location / {
return 301 https://$host$request_uri;
}
location = /basic_status {
stub_status;
}
}