7 lines
158 B
Bash
7 lines
158 B
Bash
#!/bin/sh
|
|
set -e
|
|
envsubst '$BUCKET_ORIGIN $BUCKET_HOST' \
|
|
< /etc/nginx/nginx.conf.template \
|
|
> /etc/nginx/conf.d/default.conf
|
|
exec nginx -g 'daemon off;'
|