Commit 9cfb3ebd authored by hark's avatar hark

bla

parent 85695227
Pipeline #1221 canceled with stage
......@@ -65,11 +65,11 @@ http {
#immutable responses
# if ($request_uri ~* ".(ico|gif|jpe?g|png)$") | ($request_uri ~* "/image/") {
if ( $request_uri ~* (.+\.ts)$ ) {
expires max;
add_header Cache-Control: public;
add_header Cache-Control: immutable;
}
# if ( $request_uri ~* (.+\.ts)$ ) {
# expires max;
# add_header Cache-Control: public;
# add_header Cache-Control: immutable;
#}
map $request_uri $expires {
default 1m;
......
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