From ca9b9800a3528681d9d778137cc67522ee147519 Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Mon, 29 Aug 2022 12:20:00 -0500 Subject: [PATCH] Specify Unix socket permissions for dynamic hosting --- Website-hosting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website-hosting.md b/Website-hosting.md index db2b3e4..dec9d66 100644 --- a/Website-hosting.md +++ b/Website-hosting.md @@ -19,7 +19,7 @@ Now, thanks to exozyme and 2kwatts, you have your own Internet place where you c For dynamic website hosting, the ports 4200 to 4209 are proxied to the domains https://0.exozy.me to https://9.exozy.me. -You can also create a world-readable Unix socket in `/srv/http/pages` which will be proxied to https://SOCKET.exozy.me. +You can also create a Unix socket in `/srv/http/pages` with permissions `660`, which will be proxied to https://SOCKET.exozy.me. To run your website automatically, you should write a [systemd user service](https://wiki.archlinux.org/title/Systemd/User) and enable lingering with `loginctl enable-linger $USER`, which ensures the website runs while you aren't logged in.