Add proxy_domains to config/config example

pull/3658/head
11tuvork28 2 years ago
parent 0995e0447c
commit 1c87da7050

@ -97,6 +97,22 @@ db:
##
domain:
##
## A list of domains where external proxy servers. This is used
## to build the urls used for proxing videos.
## When none is set invidious will be used for proxiying.
## This generally only needs to be set for bigger instances,
## a example proxy url would be like ['proxy.example.com'].
## Using a list urls might look like this:
## ['proxy-eu1.example.com','proxy-eu2.example.com']
## Invidious would then choose at random which request gets one
## of the proxy servers
##
## Accepted values: a list of fully qualified domain names (FQDN)
## Default: [""]
##
proxy_domains: [""]
##
## Tell Invidious that it is behind a proxy that provides only
## HTTPS, so all links must use the https:// scheme. This

@ -88,6 +88,8 @@ class Config
property hmac_key : String?
# Domain to be used for links to resources on the site where an absolute URL is required
property domain : String?
# Domain list of external proxy servers to be used, when multiple are set they will be randomly choosen
property proxy_domains : Array(String) = [] of String
# Subscribe to channels using PubSubHubbub (requires domain, hmac_key)
property use_pubsub_feeds : Bool | Int32 = false
property popular_enabled : Bool = true

Loading…
Cancel
Save