Remove start.sh

This commit is contained in:
Florian Heinemann 2014-11-05 09:36:38 -05:00
parent afe205f1cf
commit 36c6e73871
3 changed files with 3 additions and 5 deletions

View File

@ -4,5 +4,5 @@ set -e
cat << EOF
---
default_process_types:
web: sh start.sh
web: echo 's/<PORT>/{${PORT}}/g' && sed -i 's/<PORT>/{${PORT}}/g' /app/nxinx.conf && /app/nginx/nginx -c /app/nginx.conf
EOF

View File

@ -1,2 +0,0 @@
erb /app/nginx.conf.erb > /app/nginx.conf
/app/nginx/nginx -c /app/nginx.conf

View File

@ -11,9 +11,9 @@ http {
types_hash_max_size 2048;
include mime.types;
server {
listen <%= ENV['PORT'] %>;
listen <PORT>;
server_name _;
root <%= ENV.fetch('root', '/app/www') %>;
root /app/www;
index index.html;
}
}