https://github.com/progrium/buildpack-nginx
nginx buildpack
https://github.com/progrium/buildpack-nginx
Last synced: about 1 year ago
JSON representation
nginx buildpack
- Host: GitHub
- URL: https://github.com/progrium/buildpack-nginx
- Owner: progrium
- License: cc0-1.0
- Created: 2013-08-17T06:40:55.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-01-31T14:37:03.000Z (over 9 years ago)
- Last Synced: 2024-05-08T22:03:32.361Z (about 2 years ago)
- Language: Shell
- Homepage:
- Size: 269 KB
- Stars: 42
- Watchers: 3
- Forks: 117
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NGINX Buildpack
**Note**: This has only been tested with [dokku](https://github.com/progrium/dokku) - it may not work elsewhere.
## Structure
* .nginx - File: its presence signals that this buildpack should be used
* www - Folder: holds all files to be served by nginx
* nginx.conf.erb - Optional File: overrides `conf/nginx.conf.erb`
* mime.types - Optional File: overrides `conf/mime.types`
* custom-build - Optional File: executes commands before build is finished. Note that this script does not run in the application root. To execute commands in the application root you must do `cd "$1"`.
## Environment Variables
* root - Optional: overrides root directory