diff --git a/vhost.d/default b/vhost.d/default new file mode 100644 index 0000000..5e59aa4 --- /dev/null +++ b/vhost.d/default @@ -0,0 +1,10 @@ +## Start of configuration add by letsencrypt container +location ^~ /.well-known/acme-challenge/ { + auth_basic off; + auth_request off; + allow all; + root /usr/share/nginx/html; + try_files $uri =404; + break; +} +## End of configuration add by letsencrypt container diff --git a/vhost.d/othonotes.com b/vhost.d/othonotes.com new file mode 100644 index 0000000..44d7e50 --- /dev/null +++ b/vhost.d/othonotes.com @@ -0,0 +1,11 @@ +## Start of configuration add by letsencrypt container +location ^~ /.well-known/acme-challenge/ { + auth_basic off; + auth_request off; + allow all; + root /usr/share/nginx/html; + try_files $uri =404; + break; +} +## End of configuration add by letsencrypt container +#client_max_body_size 10G diff --git a/vhost.d/www.othonotes.com b/vhost.d/www.othonotes.com new file mode 100644 index 0000000..44d7e50 --- /dev/null +++ b/vhost.d/www.othonotes.com @@ -0,0 +1,11 @@ +## Start of configuration add by letsencrypt container +location ^~ /.well-known/acme-challenge/ { + auth_basic off; + auth_request off; + allow all; + root /usr/share/nginx/html; + try_files $uri =404; + break; +} +## End of configuration add by letsencrypt container +#client_max_body_size 10G