mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-09 20:24:03 +00:00
Change bind_unix to socket_binding, add socket_permissions and config example
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user