diff options
-rw-r--r-- | support/nginx/peertube | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/nginx/peertube b/support/nginx/peertube index ee981abcf..5ce59a112 100644 --- a/support/nginx/peertube +++ b/support/nginx/peertube | |||
@@ -247,6 +247,7 @@ server { | |||
247 | sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k. | 247 | sendfile_max_chunk 1M; # prevent one fast connection from entirely occupying the worker process. should be > 800k. |
248 | aio threads; | 248 | aio threads; |
249 | 249 | ||
250 | # web-videos is the name of the directory mapped to the `storage.web_videos` key in your PeerTube configuration | ||
250 | rewrite ^/static/webseed/(.*)$ /web-videos/$1 break; | 251 | rewrite ^/static/webseed/(.*)$ /web-videos/$1 break; |
251 | rewrite ^/static/(.*)$ /$1 break; | 252 | rewrite ^/static/(.*)$ /$1 break; |
252 | 253 | ||