Commit dc9abadf authored by Julien Wajsberg's avatar Julien Wajsberg Committed by Phyks

Serve the .well-known directory to support letsencrypt's ACME protocol

parent c2f0a238
...@@ -121,6 +121,10 @@ def get_app(config): ...@@ -121,6 +121,10 @@ def get_app(config):
"/img/<filename:path>", "GET", "/img/<filename:path>", "GET",
lambda filename: _serve_static_file("/img/{}".format(filename)) lambda filename: _serve_static_file("/img/{}".format(filename))
) )
"/.well-known/<filename:path>", "GET",
lambda filename: _serve_static_file("/.well-known/{}".format(filename))
app.route( app.route(
"/data/img/<filename:path>", "GET", "/data/img/<filename:path>", "GET",
lambda filename: bottle.static_file( lambda filename: bottle.static_file(
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment