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",
|
"/img/<filename:path>", "GET",
|
||||||
lambda filename: _serve_static_file("/img/{}".format(filename))
|
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(
|
app.route(
|
||||||
"/data/img/<filename:path>", "GET",
|
"/data/img/<filename:path>", "GET",
|
||||||
lambda filename: bottle.static_file(
|
lambda filename: bottle.static_file(
|
||||||
|
Loading…
Reference in New Issue
Block a user