kopia lustrzana https://github.com/cloudflare/wildebeest
remove ruleset
ruleset are causing more issues than it's solving. Removing for now.pull/244/head
rodzic
ff701bb05e
commit
9c570a5b0f
|
@ -3,6 +3,7 @@ export type Handle = {
|
|||
domain: string | null
|
||||
}
|
||||
|
||||
// Parse a "handle" in the form: `[@] <local-part> '@' <domain>`
|
||||
export function parseHandle(query: string): Handle {
|
||||
// Remove the leading @, if there's one.
|
||||
if (query.startsWith('@')) {
|
||||
|
|
18
tf/main.tf
18
tf/main.tf
|
@ -170,21 +170,3 @@ resource "cloudflare_access_application" "wildebeest_access" {
|
|||
session_duration = "730h"
|
||||
auto_redirect_to_identity = false
|
||||
}
|
||||
|
||||
resource "cloudflare_ruleset" "wildebeest_inbox" {
|
||||
zone_id = trimspace(var.cloudflare_zone_id)
|
||||
name = "Wildebeest"
|
||||
description = "Ruleset for Wildebeest"
|
||||
kind = "zone"
|
||||
phase = "http_request_firewall_managed"
|
||||
|
||||
rules {
|
||||
action = "skip"
|
||||
action_parameters {
|
||||
phases = ["http_request_firewall_managed"]
|
||||
}
|
||||
expression = "(http.host eq \"${var.cloudflare_deploy_domain}\" and http.request.uri.path contains \"/ap/users/\" and http.request.uri.path contains \"inbox\")"
|
||||
description = "Bypass firewall for Wildebeest Inbox"
|
||||
enabled = true
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue