infra/roles/webservers/files/levi/http.static.simponic.xyz.conf
2024-01-12 21:26:09 -05:00

14 lines
253 B
Plaintext

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