1. Caddy version (caddy version
): v2.1.1
2. How I run Caddy:
Via Ubuntu terminal + service
a. System environment:
Ubuntu 20
b. Command:
caddy run
d. My complete Caddyfile or JSON config:
This was my v1 caddyfile.
isotope.dev {
gzip
log /var/log/caddy_access.log
errors /var/log/caddy_error.log
errors {
403 /var/www/403.html
}
forwardproxy {
basic auth bruh 1234
hide_ip
hide_via
response_timeout 30
dial_timeout 30
acl {
allowfile /var/www/allowed.txt
denyfile /var/www/blocked.txt
}
}
3. The problem I’m having:
I need to use the http.forwardproxy plugin but for Caddy v2. If i cant then i need to find a way to use Caddy v1
5. What I already tried:
Ive tried using other services and they do not work like how it did with v1