timemanager/frontend/nginx/run_nginx.sh

10 lines
194 B
Bash
Raw Normal View History

2023-09-25 11:01:28 +02:00
#!/usr/bin/env bash
# generate nginx-configuration (insert env variables)
export DOLLAR='$'
envsubst < ./nginx.conf.template > /etc/nginx/nginx.conf
# start nginx
exec nginx -g "daemon off;"