Files
nginx-conf/conf/includes/Gogs.conf
Mike Phares 13f1964ad9 mestsa02ec.ec.local
# 80, Access-Control-Allow-Origin and
pfx to crt and key
Add to DevOps
flop dex
Gogs
proxy_set_header X-Forwarded-Proto https;
ssl
2023-09-18 16:01:44 -07:00

8 lines
211 B
Plaintext

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