forked from infra/ansible
Fix ACME directories in nginx vhosts.
This commit is contained in:
parent
86df50da48
commit
b8455c62a7
@ -5,9 +5,9 @@ server {
|
||||
server_name _;
|
||||
server_name_in_redirect on;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
location /.well-known/acme-challenge {
|
||||
default_type "text/plain";
|
||||
root /var/www/acme-challenge/;
|
||||
alias /var/www/acme-challenge;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
@ -4,9 +4,9 @@ server {
|
||||
|
||||
server_name {{ owncloud_domain }};
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
location /.well-known/acme-challenge {
|
||||
default_type "text/plain";
|
||||
root /var/www/acme-challenge/;
|
||||
alias /var/www/acme-challenge;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
Loading…
Reference in New Issue
Block a user