summaryrefslogtreecommitdiff
path: root/data/templates/https/nginx.default.j2
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-01-09 14:48:04 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-01-09 15:39:47 -0600
commitba4aebaaa816d810727ded073d3b09c1723cded7 (patch)
tree3368415980dba67ac3ae25dc442329c6882fdb7f /data/templates/https/nginx.default.j2
parentf440fbc9ba9019b25fb9f059357052701d990ef3 (diff)
downloadvyos-1x-ba4aebaaa816d810727ded073d3b09c1723cded7.tar.gz
vyos-1x-ba4aebaaa816d810727ded073d3b09c1723cded7.zip
container: T4880: add REST API endpoint for add/delelete/show images
Diffstat (limited to 'data/templates/https/nginx.default.j2')
-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;