add letsencrypt bundle
This commit is contained in:
parent
04f2baacf4
commit
dc9e8dc679
5 changed files with 37 additions and 2 deletions
|
@ -2,12 +2,12 @@ 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/;
|
||||
alias /var/lib/dehydrated/acme-challenges/;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue