Add netbox role
Kinda ouroborosish if you think about it. Better don’t.
This commit is contained in:
parent
43b9010126
commit
c7a3513fa1
14 changed files with 379 additions and 0 deletions
11
roles/nginx/files/default.conf
Normal file
11
roles/nginx/files/default.conf
Normal file
|
@ -0,0 +1,11 @@
|
|||
# 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue