diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 23:49:41 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-03 23:49:41 -0500 |
| commit | c71b37eb23d4c8af7ab983de34c6da5be9363f3a (patch) | |
| tree | fa699de5d31008b17529d799df00a9a3290c52bf /nginx.sh | |
| parent | 61612c8e1861ac704bbe592a623a41f12ebc9c11 (diff) | |
| download | paste-c71b37eb23d4c8af7ab983de34c6da5be9363f3a.tar.gz paste-c71b37eb23d4c8af7ab983de34c6da5be9363f3a.tar.xz | |
Also add Nginx testing script, logging options and
some docs.
Diffstat (limited to 'nginx.sh')
| -rwxr-xr-x | nginx.sh | 10 |
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 |
