replacing apache with nginx and mapping appropriate config files