Commit c0c214dc authored by hark's avatar hark

bla

parent 07762bcf
Pipeline #1216 canceled with stage
......@@ -60,8 +60,10 @@ http {
etag on;
expires 1m;
location ~* (.+\.(jpg|jpeg|gif|png|ts))$ {
# don't use location, first matching one is chose, not all of them
# location ~* (.+\.(jpg|jpeg|gif|png|ts))$ {
#immutable responses
if(location ~* (.+\ts)$ ) {
expires max;
add_header Cache-Control: public;
add_header Cache-Control: immutable;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment