Nginx的add_header指令實例分析
文章簡介:前言大家都知道,nginx設定檔透過使用add_header指令來設定responseheader。用curl查看一個站點的信息,發現回傳的頭部與想像中的不一樣:http/2200date:thu,07feb201904:26:38gmtcontent-type:text/html;charset=utf-8vary:accept-encoding,cookiecache-text/html;charset=utf-8vary:accept-encoding,cookiecache-text/html;charset=utf-8vary:accept-encoding,cookiecache-text/html;charset=utf-8vary:accept-encoding,cookiecache-text/html;charset=utf-8vary:accept-encoding,cookiecache-text/html;charset=utf-8vary:accept-encoding,cookiecache- control:max-age=3,must-revalidatelast-modified:thu,07feb20190
2023-05-17
評論 0
1565