From 173537777b17b3a9f019e2a55b148879bbd4805a Mon Sep 17 00:00:00 2001 From: David Merfield Date: Fri, 6 Oct 2023 15:10:00 +0100 Subject: [PATCH] Updates workflows --- .github/workflows/proxy-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/proxy-tests.yml b/.github/workflows/proxy-tests.yml index 03abc579eb1..b5fe69dc6d3 100644 --- a/.github/workflows/proxy-tests.yml +++ b/.github/workflows/proxy-tests.yml @@ -56,3 +56,12 @@ jobs: REDIS_IP: 127.0.0.1 run: | node config/openresty/build-config.js + cat config/openresty/data/openresty.conf + + - name: generate self-signed SSL certs + run: | + openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout config/openresty/data/selfsigned.key -out config/openresty/data/selfsigned.crt -subj "/C=US/ST=Oregon/L=Portland/O=Company Name/OU=Org/CN=localhost" + + - name: run openresty + run: | + sudo openresty -c config/openresty/data/openresty.conf -p config/openresty/data