Commit 5c799848 authored by hark's avatar hark

bla

parent c845b44d
Pipeline #1219 canceled with stage
......@@ -63,7 +63,9 @@ http {
# don't use location, first matching one is chose, not all of them
# location ~* (.+\.(jpg|jpeg|gif|png|ts))$ {
#immutable responses
if ( location ~* (.+\ts)$ ) {
# 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;
......
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