X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=config%2Fproduction.yaml.example;h=744a14e91b93dede5292577bd02138f741afc1ea;hb=aa85f27b22a4e26befb21fa93ef1598a61d46e32;hp=0c942c5ec70a52d39122ac979863333ac12e892e;hpb=59b741d6e3bd883b0a32d7aa02f953cc1bee16d6;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/production.yaml.example b/config/production.yaml.example index 0c942c5ec..744a14e91 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -220,6 +220,10 @@ open_telemetry: metrics: enabled: false + http_request_duration: + # You can disable HTTP request duration metric that can have a high tag cardinality + enabled: true + # Create a prometheus exporter server on this port so prometheus server can scrape PeerTube metrics prometheus_exporter: hostname: '127.0.0.1' @@ -286,6 +290,11 @@ security: frameguard: enabled: true + # Set x-powered-by HTTP header to "PeerTube" + # Can help remote software to know this is a PeerTube instance + powered_by_header: + enabled: true + tracker: # If you disable the tracker, you disable the P2P on your PeerTube instance enabled: true @@ -408,7 +417,11 @@ signup: whitelist: [] blacklist: [] -user: +user: + history: + videos: + # Enable or disable video history by default for new users. + enabled: true # Default value of maximum video bytes the user can upload (does not take into account transcoded files) # Byte format is supported ("1GB" etc) # -1 == unlimited @@ -751,7 +764,7 @@ search: search_index: enabled: false # URL of the search index, that should use the same search API and routes - # than PeerTube: https://docs.joinpeertube.org/api/rest-reference.html + # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html # You should deploy your own with https://framagit.org/framasoft/peertube/search-index, # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index url: ''