Skip to content

Commit

Permalink
Apply new rule for Referer header
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanFauble committed Dec 3, 2024
1 parent f5d2896 commit b274c4a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/signoz/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ spec:
value: ${var.namespace}
- target:
kind: SecurityPolicy
name: require-jwt-for-collector
patch: |-
- op: replace
path: /metadata/namespace
Expand Down
16 changes: 15 additions & 1 deletion modules/signoz/resources-otel-ingress/http-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,18 @@ spec:
matches:
- path:
type: PathPrefix
value: /telemetry/ui
value: /telemetry/ui
- backendRefs:
- group: ""
kind: Service
name: signoz-frontend
namespace: signoz
port: 3301
weight: 1
matches:
- path:
type: PathPrefix
value: /
- headers:
- name: Referer
value: https://dev.sagedpe.org/telemetry/ui

0 comments on commit b274c4a

Please sign in to comment.