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

14 lines
285 B
Plaintext

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