摘要:
1.proxy_pass 代理转发, 不过要注意的是url后面时候有跟 / 这个,如果有的话就是绝对的根目录,没有的话就是相对路径,并把匹配到的带上。 例子: 比如访问 : http://127.0.0.1/proxy/test.html 第一种情况: location /proxy/{ proxy 阅读全文
posted @ 2018-06-06 13:42
Jackey-fighting
阅读(684)
评论(0)
推荐(0)
摘要:
1. expires 是在http的回应中,也就是Response-Header,expires [time| epoch| max| pff] ,后面的设置会影响Cache-Controller, 如果是负数则 on-cache,否则就是max-age=time; 2. expires 30s; 阅读全文
posted @ 2018-06-06 10:58
Jackey-fighting
阅读(1332)
评论(0)
推荐(0)

浙公网安备 33010602011771号