infra/roles/private/files/johan/http.ntfy.internal.simponic.xyz.conf
2024-04-12 16:57:00 -04:00

14 lines
267 B
Plaintext

server {
listen 80;
server_name ntfy.internal.simponic.xyz;
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
rewrite ^ https://ntfy.internal.simponic.xyz$request_uri? permanent;
}
}