X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=config%2Fproduction.yaml.example;h=744a14e91b93dede5292577bd02138f741afc1ea;hb=aa85f27b22a4e26befb21fa93ef1598a61d46e32;hp=f1ebf90950a5bd86ef5ba7555b0ea702d60bccc8;hpb=15825ef18d3b2bb74f4e613496cf3e2921a87389;p=github%2FChocobozzz%2FPeerTube.git diff --git a/config/production.yaml.example b/config/production.yaml.example index f1ebf9095..744a14e91 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -215,11 +215,15 @@ log: accept_client_log: true # Support of Open Telemetry metrics and tracing -# For more information: https://docs.joinpeertube.org/maintain-observability +# For more information: https://docs.joinpeertube.org/maintain/observability 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 @@ -567,7 +580,7 @@ import: # Classic HTTP or all sites supported by youtube-dl https://rg3.github.io/youtube-dl/supportedsites.html http: # We recommend to use a HTTP proxy if you enable HTTP import to prevent private URL access from this server - # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information + # See https://docs.joinpeertube.org/maintain/configuration#security for more information enabled: false youtube_dl_release: @@ -591,7 +604,7 @@ import: # Magnet URI or torrent file (use classic TCP/UDP/WebSeed to download the file) torrent: # We recommend to only enable magnet URI/torrent import if you trust your users - # See https://docs.joinpeertube.org/maintain-configuration?id=security for more information + # See https://docs.joinpeertube.org/maintain/configuration#security for more information enabled: false # Add ability for your users to synchronize their channels with external channels, playlists, etc.