平台默认会根据源码根目录是否有index.html
文件来识别为静态语言项目.
index.html
文件如果未定义Procfile,会生成如下默认Procfile
web: sh boot.sh
默认使用最新稳定版本Nginx
需要在源码根目录定义nginx配置文件:web.conf,默认配置文件为
server {
listen 80;
location / {
root /app/www;
index index.html index.htm;
}
}