Suppose I visit ${domain}/admin/*, then it will be located at /dist/admin.html${domain}/m/*, then it will be located at /dist/mobile.html Otherwise , then locate /dist/index.html
Use the rewrite command, please check the official documentation for specific usage methods. For example
rewrite
rewrite ^/admin/(.*)$ /dist/admin.html last;
Use the
rewrite
command, please check the official documentation for specific usage methods. For example