feat: ACME location in main too
This commit is contained in:
parent
7aba5a6491
commit
8e48b49a3f
|
@ -130,6 +130,7 @@ async fn main() -> std::io::Result<()> {
|
|||
.wrap(Logger::default())
|
||||
.app_data(web::Data::new(state.clone()))
|
||||
.route("/", web::get().to(connect_handler))
|
||||
.service(Files::new("/.well-known/acme-challenge/", "/var/www/letsencrypt/.well-known/acme-challenge/"))
|
||||
})
|
||||
.bind("0.0.0.0:8080")?
|
||||
.run()
|
||||
|
|
Loading…
Reference in New Issue
Block a user