diff options
author | Matthias Fetzer <fetzerms@users.noreply.github.com> | 2020-03-04 10:43:23 +0100 |
---|---|---|
committer | Administrator <admin@rofl.cat> | 2020-03-11 11:27:50 +0100 |
commit | 508d380b8ef4079d539a3845705f1bf3aeff3a67 (patch) | |
tree | 1305c4009005102a378646781b5bfd295768acca /src/conf_mode/https.py | |
parent | 09a2b2789c3914a6756bd3b487e51fa0737af8ca (diff) | |
download | vyos-1x-508d380b8ef4079d539a3845705f1bf3aeff3a67.tar.gz vyos-1x-508d380b8ef4079d539a3845705f1bf3aeff3a67.zip |
http api: T2096: Added show and generate
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-x | src/conf_mode/https.py | 2 |
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; |