mirror of
https://codeberg.org/Freedium-cfd/web.git
synced 2026-03-11 09:04:37 +00:00
Supress weird Cloudflare's anti-bot page access to Freedium
This commit is contained in:
parent
bf9de74063
commit
87343ef595
3 changed files with 9 additions and 1 deletions
|
|
@ -154,6 +154,10 @@
|
|||
respond "Access denied" 403
|
||||
}
|
||||
|
||||
handle_path /cdn-cgi/challenge-platform/h/b/orchestrate/chl_page/v1 {
|
||||
respond "Access denied" 403
|
||||
}
|
||||
|
||||
route /* {
|
||||
reverse_proxy web:7080
|
||||
}
|
||||
|
|
|
|||
|
|
@ -155,6 +155,10 @@ freedium.cfd {
|
|||
respond "Access denied" 403
|
||||
}
|
||||
|
||||
handle_path /cdn-cgi/challenge-platform/h/b/orchestrate/chl_page/v1 {
|
||||
respond "Access denied" 403
|
||||
}
|
||||
|
||||
route /* {
|
||||
reverse_proxy web:7080
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ for file in static_files:
|
|||
OUTPUT_RULES.append(file_template)
|
||||
|
||||
|
||||
ACCESS_DENIED_PATHS = ["websocket", "cdn-cgi/rum", "graphql/websocket", "onboarding/*", "wp-*", ".env", "api*", "apple-touch-icon-precomposed.png", "rss.xml", ".git/*", "apple-touch-icon-120x120.png", "apple-touch-icon-120x120-precomposed.png", "apple-touch-icon-152x152.png", "apple-touch-icon-152x152-precomposed.png", ".well-known/*"]
|
||||
ACCESS_DENIED_PATHS = ["websocket", "cdn-cgi/rum", "graphql/websocket", "onboarding/*", "wp-*", ".env", "api*", "apple-touch-icon-precomposed.png", "rss.xml", ".git/*", "apple-touch-icon-120x120.png", "apple-touch-icon-120x120-precomposed.png", "apple-touch-icon-152x152.png", "apple-touch-icon-152x152-precomposed.png", ".well-known/*", "cdn-cgi/challenge-platform/h/b/orchestrate/chl_page/v1"]
|
||||
|
||||
access_denied_paths_template = """
|
||||
handle_path /{{ file }} {
|
||||
|
|
|
|||
Loading…
Reference in a new issue