diff --git a/conf/nginx.conf b/conf/nginx.conf index b7fe0bc..5d37dd1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,3 +1,5 @@ + add_header X-Frame-Options https://__DOMAIN__/videos/embed; + location ~ ^/client/(.*\.(js|css|woff2|otf|ttf|woff|eot))$ { add_header Cache-Control "public, max-age=31536000, immutable"; @@ -19,8 +21,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;