1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-03 14:52:36 +02:00

Fix letsencrypt on master

This commit is contained in:
Florent Daigniere 2023-10-06 13:48:09 +02:00
parent b71039572c
commit 5230c28713
2 changed files with 3 additions and 2 deletions

View File

@ -47,7 +47,7 @@ time.sleep(5)
class MyRequestHandler(SimpleHTTPRequestHandler):
def do_GET(self):
if self.path == '/testing':
if self.path == '/.well-known/acme-challenge/testing':
self.send_response(204)
else:
self.send_response(404)
@ -55,7 +55,7 @@ class MyRequestHandler(SimpleHTTPRequestHandler):
self.end_headers()
def serve_one_request():
with HTTPServer(("0.0.0.0", 8008), MyRequestHandler) as server:
with HTTPServer(("127.0.0.1", 8008), MyRequestHandler) as server:
server.handle_request()
# Run certbot every day

View File

@ -0,0 +1 @@
Fix letsencrypt on master