diff options
author | Daniil Baturin <daniil@vyos.io> | 2022-05-26 17:35:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 17:35:57 +0300 |
commit | f2bc9448f8fbb65382128853d79f46e25e1f7909 (patch) | |
tree | a3493dad283451d7cc3f5067e02278268ebd49ec /data/templates/https/nginx.default.tmpl | |
parent | 9854c72dfc8c88c9b1c0b21637091216aed94baa (diff) | |
parent | d15af8e9fdc32bd2e3471a300d9cf32e8eff00a0 (diff) | |
download | vyos-1x-f2bc9448f8fbb65382128853d79f46e25e1f7909.tar.gz vyos-1x-f2bc9448f8fbb65382128853d79f46e25e1f7909.zip |
Merge pull request #1335 from sever-sever/T4442-equ
http-api: T4442: Add action reset
Diffstat (limited to 'data/templates/https/nginx.default.tmpl')
-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 968ba806c..04e0d558a 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|graphql) { + location ~ /(retrieve|configure|config-file|image|generate|show|reset|docs|openapi.json|redoc|graphql) { {% if server.api %} {% if server.api.socket %} proxy_pass http://unix:/run/api.sock; |