aboutsummaryrefslogtreecommitdiff
path: root/nginx.sh
blob: 31ff236ab81bce48ca068ce8a875ffb0adb5dc3b (plain) (blame)
1
2
3
4
5
6
7
8
9
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