Configure for nginx and apache