From b4e930f3bcfa7996ac48e8fe288b5ab82e518aaa Mon Sep 17 00:00:00 2001 From: Caian Benedicto Date: Fri, 13 Dec 2024 21:29:48 -0300 Subject: Change bind_unix to socket_binding, add socket_permissions and config example --- config/config.example.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/config.example.yml b/config/config.example.yml index a3a2eeb7..439063e1 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -130,6 +130,27 @@ https_only: false ## #hsts: true +## +## Path of a UNIX socket to listen on for incoming connections. +## +## Note: Enabling socket will make invidious stop listening on the address +## specified by 'host_binding' and 'port'. +## +## Accepted values: Any path to a new file (that doesn't exist yet) +## Default: +## +socket_binding: /tmp/invidious.sock + +## +## Permissions for the UNIX socket specified by 'socket_binding'. +## +## Note: The permissions are given in octal, following UNIX convention. +## +## Accepted values: 000-777 +## Default: 777 +## +socket_permissions: 777 + # ----------------------------- # Network (outbound) @@ -177,7 +198,7 @@ https_only: false ## Configuration for using a HTTP proxy ## ## If unset, then no HTTP proxy will be used. -## +## http_proxy: user: password: @@ -839,7 +860,7 @@ default_user_preferences: ## Default: true ## #vr_mode: true - + ## ## Save the playback position ## Allow to continue watching at the previous position when -- cgit v1.2.3