Browse Source

Merge branch 'master' of https://git.in-ulm.de/ulpeters/reverse-proxy

Toastie 1 month ago
parent
commit
a9076aa1c6
2 changed files with 3 additions and 13 deletions
  1. 3 3
      README.md
  2. 0 10
      data/ejabberd-vhost

+ 3 - 3
README.md

@@ -24,10 +24,10 @@ Important: Make sure the container is connected to the reverse-proxy_default net
 
 ##### docker run 
 ```
+fqdn="whoami.example.com"
 docker run --rm --name whoami \
-           --env VIRTUAL_HOST=whoami.example.com \
-           --env LETSENCRYPT_HOST=whoami.example.com \
-           --env LETSENCRYPT_EMAIL=webmaster@example.com \
+           --env VIRTUAL_HOST=$fqdn \
+           --env LETSENCRYPT_HOST=$fqdn \
            --network reverse-proxy_default \
            jwilder/whoami  
 

+ 0 - 10
data/ejabberd-vhost

@@ -1,13 +1,3 @@
-## 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;