Yt : Fix Dash playback.

This commit is contained in:
Dmitry Voronin 2024-06-23 15:29:20 +03:00
parent d4deff9c99
commit 2b21e68a98
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
2 changed files with 12 additions and 0 deletions

View file

@ -19,6 +19,8 @@ in {
captcha_enabled = false; captcha_enabled = false;
check_tables = true; check_tables = true;
registration_enabled = false; registration_enabled = false;
external_port = 443;
https_only = true;
}; };
}; };
}; };

View file

@ -11,7 +11,17 @@ in {
allow ${container.localAccess}; allow ${container.localAccess};
allow ${container.config.vpn.address}; allow ${container.config.vpn.address};
deny all; deny all;
proxy_pass http://''$${name}$request_uri; proxy_pass http://''$${name}$request_uri;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_hide_header Content-Security-Policy;
proxy_hide_header X-Frame-Options;
proxy_hide_header X-Content-Type-Options;
} }
ssl_certificate /etc/letsencrypt/live/${domain}/fullchain.pem; ssl_certificate /etc/letsencrypt/live/${domain}/fullchain.pem;