This commit is contained in:
2023-06-03 16:53:28 -07:00
parent 63276d53aa
commit 7867460846
4 changed files with 19 additions and 13 deletions

View File

@ -1,8 +1 @@
location / {
proxy_hide_header Authorization;
if ($http_Authorization != "Basic asdf") {
return 401;
}
proxy_set_header Authorization "Basic asdf";
proxy_pass http://localhost:3000;
}
location / { proxy_pass http://localhost:3000; }