somewhat functional config

Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
Ava Hahn 2025-09-25 00:12:36 +00:00
parent 2ade911283
commit 0428682b66
7 changed files with 68 additions and 4 deletions

28
run.sh Executable file
View file

@ -0,0 +1,28 @@
#!/bin/sh
set -ex
here=$(dirname $(realpath "$0"))
git submodule update --init --recursive
mkdir -p pfx/logs
cd pebble
go build ./cmd/pebble
cd $here
if ! [ -f nginx/objs/nginx ]; then
cd nginx
auto/configure --with-compat --with-http_ssl_module \
--add-module=$here/nginx-acme --prefix=$here/pfx
make -j8
cd $here
fi
PEBBLE_VA_ALWAYS_VALID=1 pebble/pebble -config pebble-config.json &
sleep 2
nginx/objs/nginx -c $here/nginx.conf &
sleep 2
# todo xdg open url
sleep infinity