Add support for nginx proxy headers