replace 'apache' with 'nginx' in service class