ifram fix and increase video size to 8 Gb
This commit is contained in:
parent
8cbd4a2250
commit
23de5da82f
|
@ -19,8 +19,8 @@
|
|||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
# Hard limit, PeerTube does not support videos > 4GB
|
||||
client_max_body_size 4G;
|
||||
# Hard limit, PeerTube does not support videos > 8GB
|
||||
client_max_body_size 8G;
|
||||
proxy_connect_timeout 600;
|
||||
proxy_send_timeout 600;
|
||||
proxy_read_timeout 600;
|
||||
|
@ -53,6 +53,11 @@
|
|||
|
||||
alias /home/yunohost.app/__NAME__/storage/videos;
|
||||
}
|
||||
|
||||
# Allow embeds
|
||||
location /videos/embed {
|
||||
proxy_hide_header X-Frame-Options;
|
||||
}
|
||||
|
||||
# Websocket tracker
|
||||
location /tracker/socket {
|
||||
|
|
Loading…
Reference in a new issue