add support for htpasswd auth
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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