mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-29 03:53:59 -06:00
Remove old s3 method nginx config
This commit is contained in:
parent
23fdb0ff38
commit
dbe91db73e
@ -251,12 +251,6 @@ server {
|
|||||||
sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k.
|
sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k.
|
||||||
aio threads;
|
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 <your S3-compatiable bucket public url mounted via fuse>;
|
|
||||||
#rewrite ^/static/webseed/(.*)$ $cdn/videos/$1 redirect;
|
|
||||||
#rewrite ^/static/(.*)$ $cdn/$1 redirect;
|
|
||||||
rewrite ^/static/webseed/(.*)$ /videos/$1 break;
|
rewrite ^/static/webseed/(.*)$ /videos/$1 break;
|
||||||
rewrite ^/static/(.*)$ /$1 break;
|
rewrite ^/static/(.*)$ /$1 break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user