summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-10-23 15:41:58 +0200
committerDaniil Baturin <daniil@baturin.org>2019-10-23 15:42:48 +0200
commit3f8884587ab1291c13f633b079058879241ac3c1 (patch)
tree41a078685c317868ef3eea7a61169f59db6cfff9 /src/conf_mode
parentd286592732fbebee3676912387d4512733b296b3 (diff)
downloadvyos-1x-3f8884587ab1291c13f633b079058879241ac3c1.tar.gz
vyos-1x-3f8884587ab1291c13f633b079058879241ac3c1.zip
[HTTP API] Add endpoints for config file and image management.
Diffstat (limited to 'src/conf_mode')
-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 f948063e9..233c815bc 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -67,7 +67,7 @@ server {
{% endif %}
# proxy settings for HTTP API, if enabled; 503, if not
- location ~ /(retrieve|configure) {
+ location ~ /(retrieve|configure|config-file|image) {
{% if api %}
proxy_pass http://localhost:{{ api.port }};
proxy_buffering off;