bundles/nginx: add nginx config
This commit is contained in:
parent
411d22d404
commit
ffb962b108
4 changed files with 76 additions and 1 deletions
13
bundles/nginx/files/port80.conf
Normal file
13
bundles/nginx/files/port80.conf
Normal file
|
@ -0,0 +1,13 @@
|
|||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name _;
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
alias /var/www/default/.well-known/acme-challenge/;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue