Update Notes.md

This commit is contained in:
qiaofeng1227 2022-09-02 08:59:10 +08:00 committed by GitHub
parent 7d4d881930
commit 029017bd77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,4 +23,32 @@ proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
```
## Nginx location order
```
location 匹配规则顺序:
1. location = /path{
}
2. location ^~ /path{
}
3. location ~ /path{
}
或location ~* /path{
}
4. location /path{
}
5. location /{
}
```