In the /ect/nginx/conf.d/rewrite folder of your Cloud Server, there are some preset rewrite rules of popular application.

  1. Using command to list all the preset rewrite rules

  2. E.g. If you want to using the wordpress.conf, please add include conf.d/rewrite/wordpress.conf; to your virtualhost template in /etc/nginx/conf.d/default.conf

  3. If your application rewrite rules has not been preset, please create it and then include to your virtualhost template