buildpack-nginx/bin/release

9 lines
190 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cat << EOF
---
default_process_types:
web: echo 's/<PORT>/${PORT}/g' && sed -i 's/<PORT>/${PORT}/g' /app/nginx.conf && /app/nginx/nginx -c /app/nginx.conf
EOF