Dodan role za apache

This commit is contained in:
polz 2025-07-30 17:12:38 +02:00
parent d5b6fe1d92
commit b324daff08
6 changed files with 675 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# handle .well-known and HTTPS redirect for all domains
server {
listen 80 default_server;
listen [::]:80 default_server;
location /.well-known/acme-challenge/ {
alias /srv/http/.well-known/acme-challenge/;
}
location / {
return 301 https://$host$request_uri;
}
}