infra/roles/webservers/files/levi/http.static.simponic.xyz.conf

15 lines
274 B
Plaintext
Raw Normal View History

2024-01-12 21:26:09 -05:00
server {
listen 80;
server_name static.simponic.xyz;
2024-01-13 01:44:08 -05:00
server_name simponic.xyz;
2024-01-12 21:26:09 -05:00
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
2024-01-13 01:44:08 -05:00
rewrite ^ https://simponic.xyz$request_uri? permanent;
2024-01-12 21:26:09 -05:00
}
}