update
This commit is contained in:
parent
9b3218c658
commit
ac9799fab5
@ -97,6 +97,15 @@ location ^~ /share/ {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## 禁止浏览器缓存
|
||||||
|
```nginx
|
||||||
|
loaction ^~ /xxxxweb/ {
|
||||||
|
add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0";
|
||||||
|
expires off;
|
||||||
|
etag off;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## 反向代理负载均衡
|
## 反向代理负载均衡
|
||||||
- /etc/nginx/conf.d/upstream.conf
|
- /etc/nginx/conf.d/upstream.conf
|
||||||
```nginx
|
```nginx
|
||||||
|
Loading…
x
Reference in New Issue
Block a user