k3d/proxy/nginx-proxy
2021-07-09 10:46:16 +02:00

14 lines
293 B
Bash
Executable File

#!/bin/sh
# Run confd
set -e
confd -onetime -backend file -file /etc/confd/values.yaml -log-level debug
set +e
# Output Configuration
echo "===== Initial nginx configuration ====="
cat /etc/nginx/nginx.conf
echo "======================================="
# Start nginx
nginx -g 'daemon off;'