mirror of
https://github.com/dokku/buildpack-nginx.git
synced 2025-04-15 22:50:35 +00:00
Merge pull request #16 from timaschew/patch-1
update docs how to set buildback
This commit is contained in:
commit
2535bd6ebb
@ -8,10 +8,9 @@ All static files that you want to serve should be in the root directory of your
|
|||||||
|
|
||||||
### Dokku
|
### Dokku
|
||||||
|
|
||||||
To trigger detection of this buildpack in Dokku, you have two options:
|
To trigger detection of this buildpack you need to add a dotfile:
|
||||||
|
|
||||||
- Automatic: Add an *empty* file called `.static` to your root directory of your web project.
|
Add an *empty* file called `.static` to your root directory of your web project (regardless if you use a custom value for NGINX_ROOT)
|
||||||
- Manual: Set your `BUILDPACK_URL` via `dokku config:set $APP_NAME BUILDPACK_URL=https://github.com/dokku/buildpack-nginx.git`
|
|
||||||
|
|
||||||
Where `$APP_NAME` is your application's name.
|
Where `$APP_NAME` is your application's name.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user