diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-08-29 16:30:15 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-08-29 16:30:15 +0000 |
commit | 0691bcbd11897694a604f99fa58af6b4286c7195 (patch) | |
tree | a5259e0b1118c5d294cb4bfb77fa3d25fed4d121 /examples/s6/httpsd-6/run | |
parent | e6ada0b74352f77124a682d98c6d842fd5c44b45 (diff) | |
download | tipidee-0691bcbd11897694a604f99fa58af6b4286c7195.tar.xz |
More examples, some fixes, some more doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples/s6/httpsd-6/run')
-rwxr-xr-x | examples/s6/httpsd-6/run | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/s6/httpsd-6/run b/examples/s6/httpsd-6/run new file mode 100755 index 0000000..652a354 --- /dev/null +++ b/examples/s6/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 -- |