2023-12-16 17:47:04 +00:00
|
|
|
server {
|
|
|
|
listen 80;
|
2023-12-31 22:49:11 +00:00
|
|
|
listen [::]:80;
|
|
|
|
|
2023-12-16 17:47:04 +00:00
|
|
|
server_name _;
|
|
|
|
access_log off;
|
2023-12-21 16:35:20 +00:00
|
|
|
|
|
|
|
location ^~ /.well-known/acme-challenge/ {
|
|
|
|
default_type "text/plain";
|
|
|
|
root {{ certbot_webroot }};
|
|
|
|
}
|
|
|
|
|
|
|
|
location / {
|
|
|
|
return 308 https://$host$request_uri;
|
|
|
|
}
|
2023-12-16 17:47:04 +00:00
|
|
|
}
|