1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-05 11:48:42 +00:00
Go to file
Florian Heinemann f76e1d0d19 Initial commit
2014-11-03 23:36:08 -05:00
bin Initial commit 2014-11-03 23:36:08 -05:00
conf Move types_hash_max_size to the http context 2014-06-25 10:17:46 -07:00
LICENSE Relicense to CC0 2013-11-11 16:09:17 -08:00
README.md Clarify a confusing custom-build subtlety 2014-07-13 18:36:30 -04:00

NGINX Buildpack

Note: This has only been tested with 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