summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-01-10 15:24:42 +0000
committerGitHub <noreply@github.com>2023-01-10 15:24:42 +0000
commitc86ed3df1e309b6a98de3ce88b508ea79453f9b1 (patch)
tree4f24bc1da40b457309989e4a9ab55933de471070 /data/templates
parentde686b3bee8ffb410142c9eeb2a7bf788316e513 (diff)
parentba4aebaaa816d810727ded073d3b09c1723cded7 (diff)
downloadvyos-1x-c86ed3df1e309b6a98de3ce88b508ea79453f9b1.tar.gz
vyos-1x-c86ed3df1e309b6a98de3ce88b508ea79453f9b1.zip
Merge pull request #1744 from jestabro/container-op-mode
container: T4880: expose 'add/delete container image' in HTTP-API
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/https/nginx.default.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/https/nginx.default.j2 b/data/templates/https/nginx.default.j2
index dbb08e187..753c3a5c9 100644
--- a/data/templates/https/nginx.default.j2
+++ b/data/templates/https/nginx.default.j2
@@ -34,7 +34,7 @@ server {
ssl_protocols TLSv1.2 TLSv1.3;
# proxy settings for HTTP API, if enabled; 503, if not
- location ~ /(retrieve|configure|config-file|image|generate|show|reset|docs|openapi.json|redoc|graphql) {
+ location ~ /(retrieve|configure|config-file|image|container-image|generate|show|reset|docs|openapi.json|redoc|graphql) {
{% if server.api %}
{% if server.api.socket %}
proxy_pass http://unix:/run/api.sock;