aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/nginx/peertube6
1 files changed, 0 insertions, 6 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube
index 827a57e93..3ef62367c 100644
--- a/support/nginx/peertube
+++ b/support/nginx/peertube
@@ -251,12 +251,6 @@ server {
251 sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k. 251 sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k.
252 aio threads; 252 aio threads;
253 253
254 # Use this in tandem with fuse-mounting i.e. https://docs.joinpeertube.org/admin-remote-storage
255 # to serve files directly from a public bucket without proxying.
256 # Assumes you have buckets named after the storage subdirectories, i.e. 'videos', 'redundancy', etc.
257 #set $cdn <your S3-compatiable bucket public url mounted via fuse>;
258 #rewrite ^/static/webseed/(.*)$ $cdn/videos/$1 redirect;
259 #rewrite ^/static/(.*)$ $cdn/$1 redirect;
260 rewrite ^/static/webseed/(.*)$ /videos/$1 break; 254 rewrite ^/static/webseed/(.*)$ /videos/$1 break;
261 rewrite ^/static/(.*)$ /$1 break; 255 rewrite ^/static/(.*)$ /$1 break;
262 256