aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--support/nginx/peertube4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 25c786a86..ceb434390 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -158,7 +158,9 @@ server {
158 location ~ ^/client/(assets/images/(icons/icon-36x36\.png|icons/icon-48x48\.png|icons/icon-72x72\.png|icons/icon-96x96\.png|icons/icon-144x144\.png|icons/icon-192x192\.png|icons/icon-512x512\.png|logo\.svg|favicon\.png))$ { 158 location ~ ^/client/(assets/images/(icons/icon-36x36\.png|icons/icon-48x48\.png|icons/icon-72x72\.png|icons/icon-96x96\.png|icons/icon-144x144\.png|icons/icon-192x192\.png|icons/icon-512x512\.png|logo\.svg|favicon\.png))$ {
159 add_header Cache-Control "public, max-age=31536000, immutable"; # Cache 1 year 159 add_header Cache-Control "public, max-age=31536000, immutable"; # Cache 1 year
160 160
161 try_files /client-overrides/$1 $uri; 161 root /var/www/peertube;
162
163 try_files /storage/client-overrides/$1 /peertube-latest/client/dist/$1 /;
162 } 164 }
163 165
164 # Bypass PeerTube for performance reasons. Optional. 166 # Bypass PeerTube for performance reasons. Optional.