summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-08-05 11:24:47 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-08-06 14:12:47 -0500
commita2b959c50c96698da173b9c4720369a51442cc5c (patch)
tree0056f7fa622c02e836a21879129d139577ca6e76 /data
parentd3d4e3bedcc0b43e16554b1832b43da9d41e651f (diff)
downloadvyos-1x-a2b959c50c96698da173b9c4720369a51442cc5c.tar.gz
vyos-1x-a2b959c50c96698da173b9c4720369a51442cc5c.zip
http-api: T2768: example using GraphQL for high-level config operations
Diffstat (limited to 'data')
-rw-r--r--data/templates/https/nginx.default.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/https/nginx.default.tmpl b/data/templates/https/nginx.default.tmpl
index 5459fe98d..b40ddcc74 100644
--- a/data/templates/https/nginx.default.tmpl
+++ b/data/templates/https/nginx.default.tmpl
@@ -41,7 +41,7 @@ server {
{% endif %}
# proxy settings for HTTP API, if enabled; 503, if not
- location ~ /(retrieve|configure|config-file|image|generate|show|docs|openapi.json|redoc) {
+ location ~ /(retrieve|configure|config-file|image|generate|show|docs|openapi.json|redoc|graphql) {
{% if server.api %}
proxy_pass http://localhost:{{ server.api.port }};
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;