mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-26 17:40:33 +00:00
Update Notes.md
This commit is contained in:
parent
7d4d881930
commit
029017bd77
1 changed files with 28 additions and 0 deletions
|
@ -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 /{
|
||||
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue