autoland: update nginx location to also proxy /__lbheartbeat__ to tornado (
bug 1336210). r?mars,smacleod
This commit updates the regex to match either /api/.* or /__lbheartbeat__
will proxy the request to the tornado server.
MozReview-Commit-ID: 29O4IQDh3Wq
--- a/autoland/docker/web/nginx-conf.d/default.conf
+++ b/autoland/docker/web/nginx-conf.d/default.conf
@@ -2,13 +2,13 @@ server {
listen 80;
server_name localhost;
location / {
proxy_pass http://yarn:4000/;
}
# Proxy requests to the autoland backing service
- location ~ /api/.* {
+ location ~ (/api/.*|__lbheartbeat__) {
proxy_pass http://autolandweb:9090;
}
}