summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorsyeopite <syeopite@syeopite.dev>2025-02-26 14:04:29 -0800
committersyeopite <syeopite@syeopite.dev>2025-02-26 14:04:29 -0800
commit3e329410d1f6426f49d0df425b31e78e9503bd9d (patch)
tree3d363d2622b7647467a16441419f0b4e2b2a1f63 /config
parent74dfda150ed296acfdea0efe942a24d94fdab6a7 (diff)
parentb4a61936427545dd545c5581ea898f2d1c29d3ab (diff)
downloadinvidious-3e329410d1f6426f49d0df425b31e78e9503bd9d.tar.gz
invidious-3e329410d1f6426f49d0df425b31e78e9503bd9d.tar.bz2
invidious-3e329410d1f6426f49d0df425b31e78e9503bd9d.zip
Add the ability to listen on UNIX sockets (#5112)
Diffstat (limited to 'config')
-rw-r--r--config/config.example.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/config.example.yml b/config/config.example.yml
index bc2deda5..b04e0a30 100644
--- a/config/config.example.yml
+++ b/config/config.example.yml
@@ -130,6 +130,20 @@ https_only: false
##
#hsts: true
+##
+## Path and permissions 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) and its
+## permissions following the UNIX octal convention.
+## Default: <none>
+##
+#socket_binding:
+# path: /tmp/invidious.sock
+# permissions: 777
+
# -----------------------------
# Network (outbound)