Added support for custom proxy configurations on server directive