ref: eea68881c941f87c5ab4e213f1a3c4db48874e6b
dir: /iphttpd.ms/
To set up httpd.ms, you will want to add this line in /cfg/$sysname/cpurc: ip/httpd/httpd -d $sysname -n /cfg/$sysname/namespace.httpd -w /usr/web/$sysname/ Replace $sysname with your actual hostname. You will then need to create the directories in /usr/web/$sysname/: cpu% mkdir -p /usr/web/$sysname/ Define the namespace for ip/httpd, consulting /lib/namespace.httpd as a template. Here is a sample namespace for /cfg/$sysname/namespace.httpd: cpu% cat /cfg/breadofgod.org/namespace.httpd bind /sys/doc /usr/web/sys/doc bind /usr/$user/www/$sysname /usr/web/$sysname Replace $user and $sysname. If you want to support TLS, make sure to first request a certificate with acmed. Then, add this line to /cfg/$sysname/cpurc: ip/httpd/httpd -c /sys/lib/tls/acmed/$sysname.crt -C /sys/lib/tls/acmed/$sysname.crt -d $sysname -n /cfg/$sysname/namespace.httpd -w /usr/web/$sysname/