ruleset are causing more issues than it's solving. Removing for now.
pull/244/head
Sven Sauleau 2023-02-10 10:27:43 +00:00
rodzic ff701bb05e
commit 9c570a5b0f
2 zmienionych plików z 1 dodań i 18 usunięć

Wyświetl plik

@ -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('@')) {

Wyświetl plik

@ -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
}
}