Fix to exclude acme-challenge from HTTPS redirect
This commit is contained in:
parent
d7a143ce5c
commit
a51e613627
|
@ -6,5 +6,11 @@ server {
|
|||
server_name groups.${SNIKKET_DOMAIN};
|
||||
server_name share.${SNIKKET_DOMAIN};
|
||||
|
||||
return 301 https://$host$request_uri;
|
||||
location /.well-known/acme-challenge {
|
||||
alias /var/www/html/.well-known/acme-challenge;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue