Used proxy_cache.example.com and also changed references to 8051 and 8050 to use SECONDARY_PORT and PRIMARY_PORT respectively. Tests have also been updated accordingly. Let me know if the config looks more reasonable now.