Fixed reverse proxy to work with AMS import