fix ssl ?

This commit is contained in:
soraefir
2026-05-15 16:37:40 +02:00
parent 1d656dc4ae
commit 94a27bb403
2 changed files with 8 additions and 2 deletions

View File

@@ -11,9 +11,15 @@ let
image = pkgs.dockerTools.streamLayeredImage {
name = pkgs.invidious.name;
tag = pkgs.invidious.version;
contents = [ pkgs.cacert patchedInvidious ];
config = {
Entrypoint = [ "${patchedInvidious}/bin/invidious" ];
ExposedPorts = { "3000/tcp" = {}; };
Env = [
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
"NIX_SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
];
};
};

View File

@@ -15,7 +15,7 @@ port: 3000
external_port: 443
host_binding: 0.0.0.0
domain: $INVIDIOUS_DOMAIN
https_only: true
https_only: false
#hsts: true
## Accepted values: true, false, dash, livestreams, downloads, local
@@ -57,7 +57,7 @@ jobs:
# -----------------------------
#banner:
use_pubsub_feeds: true
# use_pubsub_feeds: true
hmac_key: $HMAC_KEY
#dmca_content: