This commit is contained in:
2023-09-18 16:11:14 -07:00
parent 59d2ef6e44
commit 47222b1d6c
13 changed files with 206 additions and 39 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;
}