Changes for Nginx support.