mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2024-12-25 13:45:23 +00:00
Remove start.sh
This commit is contained in:
parent
afe205f1cf
commit
36c6e73871
@ -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
|
||||
|
@ -1,2 +0,0 @@
|
||||
erb /app/nginx.conf.erb > /app/nginx.conf
|
||||
/app/nginx/nginx -c /app/nginx.conf
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user