From c928e1364fbdff87f27fd982710b95426a250491 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 29 Jul 2019 14:58:41 +0200 Subject: Improve nginx client images cache --- support/nginx/peertube | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/nginx') diff --git a/support/nginx/peertube b/support/nginx/peertube index fee0f5d1c..aca985785 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube @@ -59,7 +59,7 @@ server { } # Bypass PeerTube for performance reasons. Could be removed - location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ { + location ~ ^/client/(.*\.(js|css|png|svg|woff2|otf|ttf|woff|eot))$ { add_header Cache-Control "public, max-age=31536000, immutable"; alias /var/www/peertube/peertube-latest/client/dist/$1; -- cgit v1.2.3