diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-10-23 15:41:58 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-10-23 15:42:48 +0200 |
commit | 3f8884587ab1291c13f633b079058879241ac3c1 (patch) | |
tree | 41a078685c317868ef3eea7a61169f59db6cfff9 /src/conf_mode/https.py | |
parent | d286592732fbebee3676912387d4512733b296b3 (diff) | |
download | vyos-1x-3f8884587ab1291c13f633b079058879241ac3c1.tar.gz vyos-1x-3f8884587ab1291c13f633b079058879241ac3c1.zip |
[HTTP API] Add endpoints for config file and image management.
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 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; |