adapt port number on reverse proxy