From dbe91db73e8b7992b414bdc0d3088dc73dde40b6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 7 Sep 2021 09:37:43 +0200 Subject: [PATCH] Remove old s3 method nginx config --- support/nginx/peertube | 6 ------ 1 file changed, 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 { sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k. aio threads; - # 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 ; - #rewrite ^/static/webseed/(.*)$ $cdn/videos/$1 redirect; - #rewrite ^/static/(.*)$ $cdn/$1 redirect; rewrite ^/static/webseed/(.*)$ /videos/$1 break; rewrite ^/static/(.*)$ /$1 break;