Remove a couple directives from the config if it's a proxy