Add nginx stub metrics if health check enabled (#4938)

Change-Id: Iac90beef20e63fb4a539f91836231469c573f402
This commit is contained in:
Matthew Mosesohn 2019-07-01 23:38:37 +03:00 committed by Kubernetes Prow Robot
parent 2aa66eb12d
commit e89b47c7ee

View file

@ -45,6 +45,10 @@ http {
access_log off; access_log off;
return 200; return 200;
} }
location /stub_status {
stub_status on;
access_log off;
}
} }
{% endif %} {% endif %}
} }