我有以下配置(用于Angular应用程序):
现在我想只为
location / {
try_files $uri /index.html;
add_header "Cache-Control" "no-cache" ;
}
现在我想只为
index.html
添加标题,而不是其他任何文件。如何做到这一点?