Serve the .well-known directory to support letsencrypt's ACME protocol
This commit is contained in:
parent
c2f0a2389a
commit
dc9abadf12
@ -121,6 +121,10 @@ def get_app(config):
|
||||
"/img/<filename:path>", "GET",
|
||||
lambda filename: _serve_static_file("/img/{}".format(filename))
|
||||
)
|
||||
app.route(
|
||||
"/.well-known/<filename:path>", "GET",
|
||||
lambda filename: _serve_static_file("/.well-known/{}".format(filename))
|
||||
)
|
||||
app.route(
|
||||
"/data/img/<filename:path>", "GET",
|
||||
lambda filename: bottle.static_file(
|
||||
|
Loading…
Reference in New Issue
Block a user