infra/roles/private/files/raspberrypi/http.uptime.internal.simponic.xyz.conf
2024-12-15 04:01:11 -05:00

14 lines
271 B
Plaintext

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