diff options
Diffstat (limited to 'support/nginx')
-rw-r--r-- | support/nginx/peertube | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube index 5ce59a112..7028566c7 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube | |||
@@ -183,7 +183,7 @@ server { | |||
183 | #client_body_temp_path /var/www/peertube/storage/nginx/; | 183 | #client_body_temp_path /var/www/peertube/storage/nginx/; |
184 | 184 | ||
185 | # Bypass PeerTube for performance reasons. Optional. | 185 | # Bypass PeerTube for performance reasons. Optional. |
186 | # Should be consistent with client-overrides assets list in /server/controllers/client.ts | 186 | # Should be consistent with client-overrides assets list in client.ts server controller |
187 | 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|default-playlist\.jpg|default-avatar-account\.png|default-avatar-account-48x48\.png|default-avatar-video-channel\.png|default-avatar-video-channel-48x48\.png))$ { | 187 | 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|default-playlist\.jpg|default-avatar-account\.png|default-avatar-account-48x48\.png|default-avatar-video-channel\.png|default-avatar-video-channel-48x48\.png))$ { |
188 | add_header Cache-Control "public, max-age=31536000, immutable"; # Cache 1 year | 188 | add_header Cache-Control "public, max-age=31536000, immutable"; # Cache 1 year |
189 | 189 | ||