diff --git a/conf/nginx.conf b/conf/nginx.conf index b7fe0bc..5377f69 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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 {