Turn off reverse proxy when it is disabled