diff options
author | John Estabrook <jestabro@vyos.io> | 2020-08-26 13:11:48 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2020-08-26 13:11:48 -0500 |
commit | a7ab5c9f57d216818cf896ef163a314f07cd7c93 (patch) | |
tree | b7d3bf803771c7afdc0b3c58f12f8e4667d814e4 /data/templates | |
parent | 12f566f4566c8ef115b15f0c11280cb3ea9a7673 (diff) | |
download | vyos-1x-a7ab5c9f57d216818cf896ef163a314f07cd7c93.tar.gz vyos-1x-a7ab5c9f57d216818cf896ef163a314f07cd7c93.zip |
https: T2830: update to use get_config_dict
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/https/nginx.default.tmpl | 2 |
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"}'; |