- # Use this in tandem with fuse-mounting i.e. https://docs.joinpeertube.org/admin-remote-storage
- # to serve files directly from a public bucket without proxying.
- # Assumes you have buckets named after the storage subdirectories, i.e. 'videos', 'redundancy', etc.
- #set $cdn <your S3-compatiable bucket public url mounted via fuse>;
- #rewrite ^/static/webseed/(.*)$ $cdn/videos/$1 redirect;
- #rewrite ^/static/(.*)$ $cdn/$1 redirect;