|
@@ -1,3 +1,13 @@
|
|
|
|
+## 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
|
|
location = /.well-known/host-meta {
|
|
location = /.well-known/host-meta {
|
|
proxy_pass http://ejabberd:80;
|
|
proxy_pass http://ejabberd:80;
|
|
proxy_hide_header content-type;
|
|
proxy_hide_header content-type;
|