infra/roles/private/files/johan/http.backups.internal.simponic.xyz.conf

14 lines
273 B
Plaintext
Raw Normal View History

2024-04-27 23:41:11 -04:00
server {
listen 80;
server_name backups.internal.simponic.xyz;
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
rewrite ^ https://backups.internal.simponic.xyz$request_uri? permanent;
}
}