diff options
author | John Estabrook <jestabro@vyos.io> | 2021-08-05 11:24:47 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2021-08-06 15:03:33 -0500 |
commit | b168b4cc7da456f14714d917cdc7a1c6b8df9af5 (patch) | |
tree | 9cb4650ceb7add283bbfb5f1d43715e29adc560a /data | |
parent | 56467e9967d9bb3c5588bb76493a71868e177a10 (diff) | |
download | vyos-1x-b168b4cc7da456f14714d917cdc7a1c6b8df9af5.tar.gz vyos-1x-b168b4cc7da456f14714d917cdc7a1c6b8df9af5.zip |
http-api: T2768: example using GraphQL for high-level config operations
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/https/nginx.default.tmpl | 2 |
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; |