Commit c5d11bf3 authored by Mio Iwakura's avatar Mio Iwakura

Nightly

parent 69838923
......@@ -93,7 +93,7 @@ void main()
auto httpsListener = listenHTTP(httpsSettings, httpsRouter);
scope (exit) httpsListener.stopListening();
auto httpRouter = new URLRouter;
httpRouter.get("/.well_known/acme-challenge/*", serveStaticFiles("public/"));
httpRouter.any("/.well_known/acme-challenge/*", serveStaticFiles("public/"));
httpRouter.any("*", staticRedirect(https_domain, HTTPStatus.movedPermanently));
auto httpListener = listenHTTP(httpSettings, httpRouter);
scope (exit) httpListener.stopListening();
......
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