I have an Apache config which works perfectly, and tried to emulate it in nginx, however it only partially works. The first location /authenticate/ { } directive works fine, but the second location /cas/ { } directive times out, causing nginx to return an error to the browser. From the command line on the server I can manually retrieve http://10.8.120.10:5447/ with no difficulty, and as mentioneby rjchute - Migration from Other Servers