新增jenkins变更
This commit is contained in:
12
nginx.conf
12
nginx.conf
@ -7,5 +7,15 @@ server {
|
||||
|
||||
location / {
|
||||
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