Following are configuration files and instructions for using systemd
to create Unix domain sockets to handle incoming websocket requests. Websocket requests are proxied by nginx
.
While these instructions are for Debian 10, they should largely work on other Linux distributions. It may be necessary to change paths and the nginx
username, which is www-data
when installed with the Debian package manager.
user@host:~$ sudo apt update
user@host:~$ sudo apt install nginx python3 wget