infra/roles/webservers/files/nijika/http.headscale.simponic.xyz.conf

14 lines
259 B
Plaintext
Raw Normal View History

server {
2024-01-04 01:40:27 -05:00
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;
}
}