summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-05-25 19:39:30 -0500
committerGitHub <noreply@github.com>2022-05-25 19:39:30 -0500
commite25afbf4a589e472d13310d8a84cc925ee8473bf (patch)
treec54815ed9af1986e67a97e1ff16cb789dec1c260 /data
parent7c1cb045ebbfb84668c703dba6c48af60fdcc788 (diff)
parent45f460a20c0bdcd05d72eda3286b2b6980998fe4 (diff)
downloadvyos-1x-e25afbf4a589e472d13310d8a84cc925ee8473bf.tar.gz
vyos-1x-e25afbf4a589e472d13310d8a84cc925ee8473bf.zip
Merge pull request #1333 from sever-sever/T4442
http-api: T4442: Add action reset
Diffstat (limited to 'data')
-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 70e62ae7a..dbb08e187 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|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;