From c71b37eb23d4c8af7ab983de34c6da5be9363f3a Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Tue, 3 Jan 2023 23:49:41 -0500 Subject: Tweak index handler to always load the frontend. Also add Nginx testing script, logging options and some docs. --- nginx.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 nginx.sh (limited to 'nginx.sh') diff --git a/nginx.sh b/nginx.sh new file mode 100755 index 0000000..31ff236 --- /dev/null +++ b/nginx.sh @@ -0,0 +1,10 @@ +#!/bin/sh +set -ex +# Testing script to run behind a local https proxy +# `mkcert` can be useful to generate valid certs +# for testing +podman run --rm --network=host \ + -v "$(pwd)/nginx.conf":/etc/nginx/nginx.conf \ + -v "$(pwd)/key.pem":/key.pem \ + -v "$(pwd)/crt.pem":/crt.pem \ + docker.io/nginx:alpine -- cgit v1.2.3