Fix deny position

This commit is contained in:
Benoit 2024-11-27 22:14:09 +09:00
parent f4d9881d29
commit 559dd8b108
Signed by: Benoit
SSH key fingerprint: SHA256:kFsX94Kq6z/6CY0dX+7/FpAeJC0QlMhJVY+B7NYrOmA

View file

@ -300,9 +300,6 @@ frontend frontend_default
# Redirect if it's a webfinger request and the host is not mastodon.benoit.jp.net
http-request redirect location https://mastodon.benoit.jp.net%[capture.req.uri] if webfinger_request not_mastodon
# Filtering
http-request deny if adguard !JP !SG !letsencrypt
# Everything else
acl adguard hdr(host) -i adguard.benoit.jp.net
acl archive hdr(host) -i blog.benpro.fr.archive.benoit.jp.net
@ -313,6 +310,8 @@ frontend frontend_default
acl linkding hdr(host) -i linkding.benoit.jp.net
acl mastodon hdr(host) -i mastodon.benoit.jp.net
http-request deny if adguard !JP !SG !letsencrypt
use_backend adguard if adguard
use_backend archive if archive
use_backend forgejo if forgejo