caddyserver / forwardproxy

Forward proxy plugin for the Caddy web server
Apache License 2.0
603 stars 228 forks source link

basicauth can not work normally #84

Open huwenhu2007 opened 3 years ago

huwenhu2007 commented 3 years ago

Hello, I use this configuration for proxy authentication. After entering the correct account and password, it still prompts that the authentication fails, and the authentication function cannot be used. Can you help me solve it?

0.0.0.0:80 { log access.log

errors error.log  {
  401 /usr/local/www/aaa.html
  404 /usr/local/www/aaa.html
}

forwardproxy {
  basicauth user 123456
  hide_ip
  hide_via
}

}

sergeyfrolov commented 3 years ago

I suspect this is a client-side issue. What client are you using? Does SwitchyOmega work for you?

huwenhu2007 commented 3 years ago

Has been resolved, json configuration is more troublesome