infra/roles/private/files/johan/http.httpsms.internal.simponic.xyz.conf
2025-01-02 19:25:04 -05:00

14 lines
273 B
Plaintext

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