新增jenkins变更
This commit is contained in:
10
nginx.conf
10
nginx.conf
@ -7,5 +7,15 @@ server {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
|
|
||||||
|
## html不缓存
|
||||||
|
if ($request_filename ~* .*\.(htm|html)$)
|
||||||
|
{
|
||||||
|
add_header Cache-Control "no-store";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user