infra/roles/webservers/files/nijika/http.headscale.simponic.xyz.conf
2024-01-04 01:40:27 -05:00

14 lines
259 B
Plaintext

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