summaryrefslogtreecommitdiffstats
path: root/config/config.example.yml
diff options
context:
space:
mode:
authorCaian Benedicto <caianbene@gmail.com>2024-12-13 21:29:48 -0300
committerCaian Benedicto <caianbene@gmail.com>2024-12-13 21:50:02 -0300
commitb4e930f3bcfa7996ac48e8fe288b5ab82e518aaa (patch)
treed5b8d4bf79159c00d1b71999b6cafb43af0bce87 /config/config.example.yml
parentd7f5cdc2f971af524c496aaeb25226eb9f8236df (diff)
downloadinvidious-b4e930f3bcfa7996ac48e8fe288b5ab82e518aaa.tar.gz
invidious-b4e930f3bcfa7996ac48e8fe288b5ab82e518aaa.tar.bz2
invidious-b4e930f3bcfa7996ac48e8fe288b5ab82e518aaa.zip
Change bind_unix to socket_binding, add socket_permissions and config example
Diffstat (limited to 'config/config.example.yml')
-rw-r--r--config/config.example.yml25
1 files changed, 23 insertions, 2 deletions
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: <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