Fix deny position
This commit is contained in:
parent
f4d9881d29
commit
559dd8b108
1 changed files with 2 additions and 3 deletions
|
@ -300,9 +300,6 @@ frontend frontend_default
|
||||||
# Redirect if it's a webfinger request and the host is not mastodon.benoit.jp.net
|
# 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
|
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
|
# Everything else
|
||||||
acl adguard hdr(host) -i adguard.benoit.jp.net
|
acl adguard hdr(host) -i adguard.benoit.jp.net
|
||||||
acl archive hdr(host) -i blog.benpro.fr.archive.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 linkding hdr(host) -i linkding.benoit.jp.net
|
||||||
acl mastodon hdr(host) -i mastodon.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 adguard if adguard
|
||||||
use_backend archive if archive
|
use_backend archive if archive
|
||||||
use_backend forgejo if forgejo
|
use_backend forgejo if forgejo
|
||||||
|
|
Loading…
Add table
Reference in a new issue