diff options
author | Chocobozzz <me@florianbigard.com> | 2021-09-07 09:37:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-09-07 09:37:43 +0200 |
commit | dbe91db73e8b7992b414bdc0d3088dc73dde40b6 (patch) | |
tree | 7ecdcd5bb049c2c254b7fcf617caf91771593d1c | |
parent | 23fdb0ff38aef6c6ff7ab9580dc6c048fa30fdc8 (diff) | |
download | PeerTube-dbe91db73e8b7992b414bdc0d3088dc73dde40b6.tar.gz PeerTube-dbe91db73e8b7992b414bdc0d3088dc73dde40b6.tar.zst PeerTube-dbe91db73e8b7992b414bdc0d3088dc73dde40b6.zip |
Remove old s3 method nginx config
-rw-r--r-- | support/nginx/peertube | 6 |
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 | ||