1. The problem I’m having:
Hi, I’m trying to make something along the lines of a proxy server. I am running Interstellar ( GitHub - UseInterstellar/Interstellar: One of the most popular modern web proxies with blazing fast speeds and a variety of games. ) in VSCode and use Caddy to pump it out on the internet. The issue starts when I try adding basicauth to it. When I try accessing the website (yes, I know that browsers aren’t too good for testing, but curl timeouts even when the website is working.) on Brave Browser it doesn’t load. When I use Google Chrome, basicauth works after about 1 minute of loading, but online services are not available (see error messages). Firefox returns error 401, not authorised.
2. Error messages and/or full log output:
Brave browser: This site can’t be reached
testingthatitworksabc.mooo.com took too long to respond. ERR_TIMED_OUT
Google Chrome: RangeError: Failed to construct 'Response': The status provided (0) is outside the range [200, 599]. Only happens when trying to access resources that are online.
Firefox: Error code: 401 Unauthorized
3. Caddy version:
Caddy v2.10.2
4. How I installed and ran Caddy:
If I remember correctly, I cloned caddy into VSCode, and ran it with caddy run
a. System environment:
Windows 11, VSCode
b. Command:
caddy run
c. Service/unit/compose file:
not sure what this is, sorry
d. My complete Caddy config:
Caddyfile. Website works fine without the basic_auth block.
testingthatitworksabc.mooo.com {
    basic_auth {
        admin $2a$14$geI.xDTNg4cfdwZZDoowT.Bw9auh15OC2xSAuuxI6laEKKhyyzmw2
    }    
    reverse_proxy localhost:2019
}