Configures nginx