Fix ACME directories in nginx vhosts.

This commit is contained in:
Markus 2016-04-09 23:42:13 +02:00
parent 86df50da48
commit b8455c62a7
2 changed files with 4 additions and 4 deletions

View File

@ -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 / {

View File

@ -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 / {