servers/roles/nginx/files/default.conf
Timotej Lazar c7a3513fa1 Add netbox role
Kinda ouroborosish if you think about it. Better don’t.
2024-05-28 12:32:28 +02:00

12 lines
244 B
Plaintext

# handle .well-known and HTTPS redirect for all domains
server {
listen 80 default_server;
listen [::]:80 default_server;
location /.well-known/ {
alias /srv/http/.well-known/;
}
location / {
return 301 https://$host$request_uri;
}
}