From e6ada0b74352f77124a682d98c6d842fd5c44b45 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 23 Aug 2023 15:36:55 +0000 Subject: Add some doc Signed-off-by: Laurent Bercot --- examples/s6-rc/httpsd-6/run | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 examples/s6-rc/httpsd-6/run (limited to 'examples/s6-rc/httpsd-6/run') diff --git a/examples/s6-rc/httpsd-6/run b/examples/s6-rc/httpsd-6/run new file mode 100755 index 0000000..652a354 --- /dev/null +++ b/examples/s6-rc/httpsd-6/run @@ -0,0 +1,11 @@ +#!/bin/execlineb -P + +fdmove -c 2 1 +backtick -E ip { pipeline { s6-dnsip6 example.com } head -n 1 } +s6-envuidgid www +export KEYFILE /etc/ssl/acme/private/example.com/key.pem +export CERTFILE /etc/ssl/acme/example.com/cert.pem +cd /home/www +fdmove 1 3 +s6-tlsserver -v -6 -1 -U -c 512 -K 30000 -- $ip 443 +tipideed -v2 -- -- cgit v1.3.1