location = /static {
root "C:\Users\****\Desktop\cx\www";
}
location = /admin {
alias "C:\Users\****\Desktop\cx-admin\app";
}
location /{...}
app is a static file directory
I hope that when accessing /admin, it will be equivalent to accessing the app directory
And when accessing admin/, access app/index.html without rewriting
How should I modify it?
学习是最好的投资!