Commit 404c5f3d authored by hark's avatar hark

bla

parent a8f3e8d6
Pipeline #1225 canceled with stage
...@@ -58,8 +58,13 @@ http { ...@@ -58,8 +58,13 @@ http {
default "public , s-maxage = 59, max-age = 59"; default "public , s-maxage = 59, max-age = 59";
~*(.+\.ts)$ "public , immutable , s-maxage = 1d, max-age = 1m"; ~*(.+\.ts)$ "public , immutable , s-maxage = 1d, max-age = 1m";
~*(.+\.m3u8)$ "public, s-maxage = 4, max-age = 4"; ~*(.+\.m3u8)$ "public, s-maxage = 4, max-age = 4";
#~*wordpress_logged_in "private, no-cache, no-store";
} }
map $request_uri $testje {
default "unmatched uri";
~*(.+\.ts)$ "ts uri";
~*(.+\.m3u8)$ "m3u uri";
}
...@@ -84,7 +89,7 @@ http { ...@@ -84,7 +89,7 @@ http {
} }
add_header Cache-Control $control; add_header Cache-Control $control;
add_header Expires $expires; add_header Expires $expires;
add_header X-Testje $testje;
add_header Access-Control-Allow-Origin *; add_header Access-Control-Allow-Origin *;
} }
......
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