NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.
A customer has reported that Confluence Web Proxy configuration does not work through an autoproxy. The workaround is to specify an IP address for a fixed proxy.
Support Automatic Web Proxy autoproxy