docker-pdns/pdns-admin-static-ngoduykhanh/docker-entrypoint.sh
Peter Schiffer 0a615b25ca
Allow configuration of uwsgi host and port in static image
via env vars `PDNS_ADMIN_STATIC_UWSGI_HOST` and `PDNS_ADMIN_STATIC_UWSGI_PORT`

Fixes #27
2023-12-19 20:50:59 +01:00

7 lines
128 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
subvars --prefix 'PDNS_ADMIN_STATIC_' < /pdns-nginx.conf.tpl > /etc/nginx/nginx.conf
exec "$@"