https://github.com/goodrain/goodrain-buildpack-static
The official Rainbond static buildpack.
https://github.com/goodrain/goodrain-buildpack-static
buildpack rainbond-buildpack rainbond-environment
Last synced: 15 days ago
JSON representation
The official Rainbond static buildpack.
- Host: GitHub
- URL: https://github.com/goodrain/goodrain-buildpack-static
- Owner: goodrain
- License: mit
- Created: 2017-11-22T04:15:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-15T15:35:51.000Z (over 7 years ago)
- Last Synced: 2025-11-11T19:34:32.262Z (8 months ago)
- Topics: buildpack, rainbond-buildpack, rainbond-environment
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Static buildpack
========================
Rainbond静态html项目的源码构建核心部分是基于[Heroku buildpack for static ](https://github.com/heroku/heroku-buildpack-static)实现的。
工作原理
-------
当buildpack在您应用的代码根目录下检测到`index.html` 文件,它会识别应用为Static(静态网页)。
文档
-------
## Nginx
默认使用最新稳定版本Nginx v1.14.2
#### 自定义Nginx配置
需要在源码根目录定义nginx配置文件:`web.conf`,默认配置文件为
```
server {
listen 80;
location / {
root /app/www;
index index.html index.htm;
}
}
```
## 授权
根据 MIT 授权获得许可。 请参阅LICENSE文件