Compare commits
3 commits
master
...
iframe_fix
Author | SHA1 | Date | |
---|---|---|---|
e200a3bbb5 | |||
174c8658d0 | |||
23de5da82f |
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue