From 3c2d61ff4276b0743108ebcc539cb5217b10bd89 Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Fri, 13 Apr 2018 18:14:01 +0200 Subject: [PATCH] Add to the nginx documentation the location datastore block --- docs/example.nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/example.nginx.conf b/docs/example.nginx.conf index d56920bf5..44b12ade8 100644 --- a/docs/example.nginx.conf +++ b/docs/example.nginx.conf @@ -75,6 +75,12 @@ server { } location ^~ /blob/ { + add_header Cache-Control max-age=31536000; + try_files $uri =404; + } + + location ^~ /datastore/ { + add_header Cache-Control max-age=0; try_files $uri =404; }