🔒 Fix Let's Encrypt ACME challenge for SSL certificates
- Add .well-known/ path exclusion in proxy_handler - Prevent quoter from intercepting ACME challenge requests - Fix CI/CD build without sudo access - Add comprehensive SSL troubleshooting documentation Resolves: SSL certificate generation failure for files.dscrs.site
This commit is contained in:
@@ -68,6 +68,13 @@ async fn main() -> std::io::Result<()> {
|
||||
.route("/quota", web::get().to(get_quota_handler))
|
||||
.route("/quota/increase", web::post().to(increase_quota_handler))
|
||||
.route("/quota/set", web::post().to(set_quota_handler))
|
||||
.service(
|
||||
web::scope("/.well-known")
|
||||
.service(
|
||||
actix_files::Files::new("/", "/tmp/.well-known")
|
||||
.show_files_listing()
|
||||
)
|
||||
)
|
||||
.route("/{path:.*}", web::get().to(proxy_handler))
|
||||
})
|
||||
.bind(addr)?
|
||||
|
||||
Reference in New Issue
Block a user