Skip to content

Commit

Permalink
feat: remove heimdall protection from healthcheck endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 1, 2024
1 parent cf804ef commit 1d4f607
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions metaploy/naarad.metaploy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ server {
proxy_pass http://naarad;
add_header Content-Type application/json;
}
## Allows us to call the /v1/health endpoint for healthcheck
location = /v1/health {
proxy_pass http://naarad;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Original-URI $request_uri;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

# Enables us to allow user registration only via
# our custon signup logic, which ultimately renders the
Expand Down

0 comments on commit 1d4f607

Please sign in to comment.