summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-08-26 13:11:48 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-08-26 13:11:48 -0500
commita7ab5c9f57d216818cf896ef163a314f07cd7c93 (patch)
treeb7d3bf803771c7afdc0b3c58f12f8e4667d814e4 /data
parent12f566f4566c8ef115b15f0c11280cb3ea9a7673 (diff)
downloadvyos-1x-a7ab5c9f57d216818cf896ef163a314f07cd7c93.tar.gz
vyos-1x-a7ab5c9f57d216818cf896ef163a314f07cd7c93.zip
https: T2830: update to use get_config_dict
Diffstat (limited to 'data')
-rw-r--r--data/templates/https/nginx.default.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/https/nginx.default.tmpl b/data/templates/https/nginx.default.tmpl
index aaa652e09..a20be45ae 100644
--- a/data/templates/https/nginx.default.tmpl
+++ b/data/templates/https/nginx.default.tmpl
@@ -52,7 +52,7 @@ server {
error_page 501 502 503 =200 @50*_json;
-{% if api_somewhere %}
+{% if api_set %}
location @50*_json {
default_type application/json;
return 200 '{"error": "service https api unavailable at this proxy address: set service https api-restrict virtual-host"}';