location is needed for acme.sh nginx mode
This commit is contained in:
parent
4e884e2258
commit
45e89592d3
1 changed files with 3 additions and 1 deletions
|
|
@ -171,8 +171,10 @@ server {
|
|||
listen [::]:80 {{ $default_server }};
|
||||
{{ end }}
|
||||
access_log /var/log/nginx/access.log vhost;
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
{{ end }}
|
||||
|
||||
server {
|
||||
|
|
|
|||
Loading…
Reference in a new issue