Skip to content

Commit

Permalink
- fix domain
Browse files Browse the repository at this point in the history
- fix location error
  • Loading branch information
elipe17 committed Nov 13, 2024
1 parent 6fd3a9b commit f9e3b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tdrs-backend/plg/grafana/custom.ini
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ http_addr =
http_port = 8080

# The public facing domain name used to access grafana from a browser
domain = apps.internal
domain = grafana.apps.internal

# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
Expand Down
2 changes: 1 addition & 1 deletion tdrs-frontend/nginx/cloud.gov/locations.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ location /grafana/ {

location = /grafana_auth_check {
internal;
set $endpoint http://{{env "BACKEND_HOST"}}.apps.internal::8080/grafana_auth_check/;
set $endpoint http://{{env "BACKEND_HOST"}}.apps.internal:8080/grafana_auth_check/;
proxy_pass $endpoint$1$is_args$args;
proxy_set_header Host $host:3000;
proxy_set_header X-Real-IP $remote_addr;
Expand Down

0 comments on commit f9e3b7a

Please sign in to comment.