1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-26 14:05:24 +00:00
Go to file
rhy-jot 75f5e89851 Merge pull request #5 from j15e/patch-1
Update with more complete default mime.types
2014-06-25 10:16:27 -07:00
bin pass all args to custom build command 2014-02-02 15:55:53 +02:00
conf Merge pull request #5 from j15e/patch-1 2014-06-25 10:16:27 -07:00
LICENSE Relicense to CC0 2013-11-11 16:09:17 -08:00
README.md Allow root directory to be overridden via environment variable 2014-06-20 10:38:48 -07: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

Environment Variables

  • root - Optional: overrides root directory