summaryrefslogtreecommitdiff
path: root/data/templates/https
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-08-05 11:24:47 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-11-07 15:21:50 -0600
commitf87f6c249535453b8bd3718dc7cdc84dcbbdbe13 (patch)
tree4a619ec7284294dfa8e70c608e423cb1b0674f45 /data/templates/https
parent790131c0da5f2cf7274e98d20839b64e94423347 (diff)
downloadvyos-1x-f87f6c249535453b8bd3718dc7cdc84dcbbdbe13.tar.gz
vyos-1x-f87f6c249535453b8bd3718dc7cdc84dcbbdbe13.zip
http-api: T2768: example using GraphQL for high-level config operations
(cherry picked from commit b168b4cc7da456f14714d917cdc7a1c6b8df9af5)
Diffstat (limited to 'data/templates/https')
-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 625ef4486..d25e5193a 100644
--- a/data/templates/https/nginx.default.tmpl
+++ b/data/templates/https/nginx.default.tmpl
@@ -41,7 +41,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|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;