aboutsummaryrefslogtreecommitdiff
path: root/nginx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.sh')
-rwxr-xr-xnginx.sh10
1 files changed, 10 insertions, 0 deletions
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