buildpack-nginx/bin/release

9 lines
194 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/nxinx.conf && /app/nginx/nginx -c /app/nginx.conf
EOF