Browse Source

incl acme

admin 1 year ago
parent
commit
0d24ab25b0
1 changed files with 10 additions and 0 deletions
  1. 10 0
      data/ejabberd-vhost

+ 10 - 0
data/ejabberd-vhost

@@ -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 {
   proxy_pass        http://ejabberd:80;
   proxy_hide_header content-type;