From a54c0d4b120913440369979fc95d94a841416f18 Mon Sep 17 00:00:00 2001 From: Justin Field Date: Mon, 21 Nov 2016 17:34:03 -0800 Subject: [PATCH] Update site-gateway.conf.mustache Update nginx conf so both /v* routes are regex based --- src/main/resources/templates/site-gateway.conf.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/site-gateway.conf.mustache b/src/main/resources/templates/site-gateway.conf.mustache index 792d301c..9806c792 100644 --- a/src/main/resources/templates/site-gateway.conf.mustache +++ b/src/main/resources/templates/site-gateway.conf.mustache @@ -51,7 +51,7 @@ server { } # Everything else under /v1/secret goes to Vault - location /v1/secret { + location ~ /v1/secret { set $vault "{{{vaultHost}}}"; proxy_pass https://$vault; }