fix ssl ?
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user