fix authelia autoconf example and debug fail before cleaning tests

This commit is contained in:
florian 2022-07-14 19:44:05 +02:00
parent f02fe1ed91
commit 7bbf77b7a5
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ services:
- bunkerweb.REVERSE_PROXY_HEADERS=Remote-User $$user;Remote-Groups $$groups;Remote-Name $$name;Remote-Email $$email
- bunkerweb.REVERSE_PROXY_URL_999=/authelia
- bunkerweb.REVERSE_PROXY_HOST_999=http://authelia:9091/api/verify
- bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL
- bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL $$scheme://$$http_host$$request_uri;Content-Length ""
app2:
image: tutum/hello-world
@ -45,7 +45,7 @@ services:
- bunkerweb.REVERSE_PROXY_HEADERS=Remote-User $$user;Remote-Groups $$groups;Remote-Name $$name;Remote-Email $$email
- bunkerweb.REVERSE_PROXY_URL_999=/authelia
- bunkerweb.REVERSE_PROXY_HOST_999=http://authelia:9091/api/verify
- bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL
- bunkerweb.REVERSE_PROXY_HEADERS_999=X-Original-URL $$scheme://$$http_host$$request_uri;Content-Length ""
# AUTHELIA
authelia:

View File

@ -86,8 +86,8 @@ class Test(ABC) :
return self._cleanup_test()
log("TEST", "⚠️", "tests not ok, retrying in 1s ...")
sleep(1)
self._cleanup_test()
self._debug_fail()
self._cleanup_test()
log("TEST", "", "failed (timeout = " + str(self.__timeout) + "s)")
return False