Change bind_unix to socket_binding, add socket_permissions and config example

This commit is contained in:
Caian Benedicto
2024-12-13 21:29:48 -03:00
parent d7f5cdc2f9
commit b4e930f3bc
3 changed files with 35 additions and 8 deletions

View File

@@ -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: <none>
##
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