location ~ /proxy/$ { proxy_pass $http_proxy_scheme://some/file.conf; }