about summary refs log tree commit diff
path: root/infra/kubernetes/nginx/nginx.conf
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-09-02T19·16+0100
committerVincent Ambo <tazjin@google.com>2019-09-02T19·16+0100
commitd577629b5b2c767a6031f90fe1303f8811a8b870 (patch)
tree767af1c0ef7df12359a96215018d6e81517a11ea /infra/kubernetes/nginx/nginx.conf
parentf2e0f3ee27ae59e45b92351d0956432920722b7e (diff)
fix(k8s): Add nginx route for load-balancer health checks r/75
Diffstat (limited to 'infra/kubernetes/nginx/nginx.conf')
-rw-r--r--infra/kubernetes/nginx/nginx.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/infra/kubernetes/nginx/nginx.conf b/infra/kubernetes/nginx/nginx.conf
index cdc228b494b0..5a008a0b953f 100644
--- a/infra/kubernetes/nginx/nginx.conf
+++ b/infra/kubernetes/nginx/nginx.conf
@@ -26,6 +26,13 @@ http {
     keepalive_timeout  65;
 
     server {
+        listen 80 default_server;
+        location / {
+            return 200 "ok";
+        }
+    }
+
+    server {
         listen       80;
         server_name  oslo.pub;