summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--envoy.yml39
1 files changed, 2 insertions, 37 deletions
diff --git a/envoy.yml b/envoy.yml
index da0e46a..148e895 100644
--- a/envoy.yml
+++ b/envoy.yml
@@ -97,26 +97,8 @@ static_resources:
forward_bearer_token: true
pass_through_matcher:
- name: ":path"
- string_match:
- prefix: "/.well-known/" # temporary
- - name: ":path"
- string_match:
- prefix: "/oauth/" # temporary
- - name: ":path"
- string_match:
- suffix: ".html"
- - name: ":path"
- string_match:
- suffix: ".ico"
- - name: ":path"
- string_match:
- suffix: ".png"
- - name: ":path"
- string_match:
- suffix: ".css"
- - name: ":path"
- string_match:
- suffix: ".js"
+ safe_regex_match:
+ regex: .*\\.(css|js|png|html|ico)$
- name: ":path"
string_match:
exact: "/health"
@@ -129,12 +111,6 @@ static_resources:
- name: ":path"
string_match:
exact: "/dashboard/nav"
- - name: ":path"
- string_match:
- prefix: "/session/" # temporary
- - name: ":path"
- string_match:
- prefix: "/dashboard" # temporary
redirect_path_matcher:
path:
exact: /callback
@@ -176,17 +152,6 @@ static_resources:
domains: ["*"]
routes:
- match:
- prefix: "/.well-known/" # temporary
- route:
- cluster: oidc
- timeout: 5s
- auto_host_rewrite: true
- - match:
- prefix: "/oauth/" # temporary
- route:
- cluster: oidc
- timeout: 5s
- - match:
prefix: "/"
route:
cluster: sparkle