From dc9abadf124b3f847a0eaf610f2d64d9ea1d8296 Mon Sep 17 00:00:00 2001 From: Julien Wajsberg Date: Tue, 25 Sep 2018 15:41:23 +0200 Subject: [PATCH] Serve the .well-known directory to support letsencrypt's ACME protocol --- flatisfy/web/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flatisfy/web/app.py b/flatisfy/web/app.py index 5d88752..94d7d69 100644 --- a/flatisfy/web/app.py +++ b/flatisfy/web/app.py @@ -121,6 +121,10 @@ def get_app(config): "/img/", "GET", lambda filename: _serve_static_file("/img/{}".format(filename)) ) + app.route( + "/.well-known/", "GET", + lambda filename: _serve_static_file("/.well-known/{}".format(filename)) + ) app.route( "/data/img/", "GET", lambda filename: bottle.static_file(