solitary: Avoid re‐writing ACME challenge path

This commit is contained in:
Mikael 2024-09-24 12:29:07 +02:00
parent 7ea2cfa57d
commit 1f1dff1b1b
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -384,7 +384,7 @@ in {
http-request redirect code 308 location https://media.solitary.social%[capture.req.uri,regsub("^/media","")] if host-solitary path-media
http-request redirect code 308 location https://media.solitary.social%[capture.req.uri,regsub("^/media","")] if host-media path-media
http-request redirect code 308 location https://cache.solitary.social%[capture.req.uri] if host-solitary path-proxy
http-request set-path "/media%[path]" if host-media !path-media
http-request set-path "/media%[path]" if host-media !path-acme !path-media
use_backend acme if path-acme
use_backend security.txt if path-security.txt