From f209d49bb51eac2fd7652db27771597171cf1cea Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Mon, 21 Oct 2019 13:07:16 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BD=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B8?= =?UTF-8?q?=20=D0=BA=D0=B5=D1=88=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/omnireader/omnireader | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/omnireader/omnireader b/docs/omnireader/omnireader index e2261088..a277f3cd 100644 --- a/docs/omnireader/omnireader +++ b/docs/omnireader/omnireader @@ -18,14 +18,17 @@ server { proxy_pass http://localhost:44081; } - location /tmp { - root /home/liberama/public; - add_header Content-Type text/xml; - add_header Content-Encoding gzip; - } - location / { root /home/liberama/public; + + location /tmp { + add_header Content-Type text/xml; + add_header Content-Encoding gzip; + } + + location ~* \.(?:manifest|appcache|html)$ { + expires -1; + } } }