using app_type for nginx server rendering