Added a new configuration option to enable reverse proxy support