I configured a SharePoint 2013 server to be accessible through a reverse proxy by doing relevant changes in Alternate Access Mappings. I am able successfully login via the reverse proxy and perform other tasks like viewing calendar, adding tasks, viewing documents etc.
However, when I try to add a new document, it fails. After little investigation I found that when I click on the Add New Document button, there a 500 Internal Server Error for the corresponding GET request to upload.aspx.
Currently I have no clue how to resolve this. Any help will be appreciated.