diff --git a/nginx.conf.template b/nginx.conf.template index 31acb2d..fb4144b 100644 --- a/nginx.conf.template +++ b/nginx.conf.template @@ -5,9 +5,14 @@ server { client_max_body_size 100G; + satisfy any; + # send all requests to the `/validate` endpoint for authorization auth_request /validate; + auth_basic "goatbin"; + auth_basic_user_file /etc/nginx/htpasswd; + location = /validate { # forward the /validate request to Vouch Proxy proxy_pass http://@VOUCH_INTERNAL@/validate;