Skip to content

Commit

Permalink
chore: add healthz and admin to the nginx configmap for access (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech authored May 30, 2024
1 parent 849261c commit c0f9524
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions charts/housewatch/templates/nginx-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,21 @@ data:
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
}
location /admin {
proxy_pass http://housewatch-api:8000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
}
location /healthz {
proxy_pass http://housewatch-api:8000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
}
}
}

0 comments on commit c0f9524

Please sign in to comment.