From a8959876a024c28d556ce538ed97f8e5664234ac Mon Sep 17 00:00:00 2001 From: Otho Date: Sat, 31 Dec 2022 03:02:07 -0500 Subject: [PATCH] Added vhost.d templates for nginx-proxy. --- vhost.d/default | 10 ++++++++++ vhost.d/othonotes.com | 11 +++++++++++ vhost.d/www.othonotes.com | 11 +++++++++++ 3 files changed, 32 insertions(+) create mode 100644 vhost.d/default create mode 100644 vhost.d/othonotes.com create mode 100644 vhost.d/www.othonotes.com 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