Commit a6e06b2b authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt

allow thekno apps to take part in origin trials

parent d0398fa6
......@@ -2,6 +2,10 @@ location / {
# try to resolve files and always fallback to the index.html file
try_files $uri $uri/ /index.html;
# if this domain participates in an origin trial we set the appropriate header
# see:
add_header Origin-Trial "$origin_trial";
location ~* "\.(?:[0-9a-f]{8,32})\.(?:[0-9a-z]+)$" {
# cache immutable files (indicated by the contained hash) indefinitely
add_header Cache-Control "public, immutable, max-age=365000000";
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