fork/static-web-server
git clone https://git.julia.blue/fork/static-web-server
21bdf8c
allow-symlink
1# Example systemd socket unit file (see systemd.socket(5) man page) for use 2# with the --fd option of static-web-server. This allows e.g. binding the 3# server to a TCP port number 0 - 1023 without running the server as root, 4# and/or running sws in an isolated network name space. 5# 6# A comprehensive description can be found in: 7# http://0pointer.de/blog/projects/socket-activation.html 8# ...and the linked articles. 9 10[Unit] 11Description=Static Web Server Socket 12 13[Socket] 14ListenStream=443 15Accept=no 16 17[Install] 18WantedBy=sockets.target