summaryrefslogtreecommitdiff
path: root/src/conf_mode/https.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-11 11:36:13 +0100
committerGitHub <noreply@github.com>2020-03-11 11:36:13 +0100
commit3c4c7179ba40be6ccd418f22d3cee9b0e3c0f5e7 (patch)
tree839a92d1cf6a69e203e197643b9b37eba7ad5a14 /src/conf_mode/https.py
parentb0952b9609da1a1e9d3cf4d0591525cde7a6bbb5 (diff)
parent508d380b8ef4079d539a3845705f1bf3aeff3a67 (diff)
downloadvyos-1x-3c4c7179ba40be6ccd418f22d3cee9b0e3c0f5e7.tar.gz
vyos-1x-3c4c7179ba40be6ccd418f22d3cee9b0e3c0f5e7.zip
Merge pull request #238 from fetzerms/http_api_show_generate
T2096: Http api show generate
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-xsrc/conf_mode/https.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index 84d1a7691..fcbc3d384 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -73,7 +73,7 @@ server {
{% endif %}
# proxy settings for HTTP API, if enabled; 503, if not
- location ~ /(retrieve|configure|config-file|image) {
+ location ~ /(retrieve|configure|config-file|image|generate|show) {
{% if server.api %}
proxy_pass http://localhost:{{ server.api.port }};
proxy_buffering off;