Specify Unix socket permissions for dynamic hosting

Anthony Wang 2022-08-29 12:20:00 -05:00
parent d35757cc43
commit ca9b9800a3

@ -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.