This commit is contained in:
1 parent
e6cc5e5e1b
commit
2cfb458604
1 file changed
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user