mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2025-01-13 04:26:21 +00:00
Remove start.sh
This commit is contained in:
parent
afe205f1cf
commit
36c6e73871
@ -4,5 +4,5 @@ set -e
|
|||||||
cat << EOF
|
cat << EOF
|
||||||
---
|
---
|
||||||
default_process_types:
|
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
|
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;
|
types_hash_max_size 2048;
|
||||||
include mime.types;
|
include mime.types;
|
||||||
server {
|
server {
|
||||||
listen <%= ENV['PORT'] %>;
|
listen <PORT>;
|
||||||
server_name _;
|
server_name _;
|
||||||
root <%= ENV.fetch('root', '/app/www') %>;
|
root /app/www;
|
||||||
index index.html;
|
index index.html;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user