infra/roles/private/files/raspberrypi/http.uptimeplugins.internal.simponic.xyz

14 lines
285 B
Plaintext
Raw Normal View History

2024-12-14 20:13:47 -05:00
server {
listen 80;
2024-12-15 04:01:11 -05:00
server_name uptimeplugins.internal.simponic.xyz;
2024-12-14 20:13:47 -05:00
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
2024-12-15 04:01:11 -05:00
rewrite ^ https://uptimeplugins.internal.simponic.xyz$request_uri? permanent;
2024-12-14 20:13:47 -05:00
}
}