This commit is contained in:
2022-11-28 17:32:45 -07:00
parent 21a619be32
commit 39e2552173
2 changed files with 13 additions and 0 deletions

8
conf/includes/Gogs.conf Normal file
View File

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