Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ storage:
# Various admin/user uploads that are not suitable for the folders above
uploads: 'storage/uploads/'
# Overridable client files in client/dist/assets/images:
# - logo.svg
# - default-avatar-account-48x48.png
# - default-avatar-account.png
# - default-avatar-video-channel-48x48.png
Expand Down
1 change: 1 addition & 0 deletions config/production.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ storage:
# Various admin/user uploads that are not suitable for the folders above
uploads: '/var/www/peertube/storage/uploads/'
# Overridable client files in client/dist/assets/images:
# - logo.svg
# - default-avatar-account-48x48.png
# - default-avatar-account.png
# - default-avatar-video-channel-48x48.png
Expand Down
2 changes: 1 addition & 1 deletion support/nginx/peertube
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ server {

# Bypass PeerTube for performance reasons. Optional.
# Should be consistent with client-overrides assets list in client.ts server controller
location ~ ^/client/(assets/images/(default-playlist\.jpg|default-avatar-account\.png|default-avatar-account-48x48\.png|default-avatar-video-channel\.png|default-avatar-video-channel-48x48\.png))$ {
location ~ ^/client/(assets/images/(logo\.svg|default-playlist\.jpg|default-avatar-account\.png|default-avatar-account-48x48\.png|default-avatar-video-channel\.png|default-avatar-video-channel-48x48\.png))$ {
add_header Cache-Control "public, max-age=31536000, immutable"; # Cache 1 year

root /var/www/peertube;
Expand Down
Loading