pass xheaders for when behind nginx