Merge pull request #2308 from dokku/josegonzalez-patch-2

Clarify that nginx.conf.sigil is only extracted from repo root for buildpack applications
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2016-07-08 14:24:54 -04:00
commit 93d42c0aa8
1 file changed
+1 -1
+1 -1
View File
@@ -15,7 +15,7 @@ nginx:error-logs <app> [-t] # Show the nginx error logs for an appl
Dokku uses a templating library by the name of [sigil](https://github.com/gliderlabs/sigil) to generate nginx configuration for each app. If you'd like to provide a custom template for your application, there are a couple options: Dokku uses a templating library by the name of [sigil](https://github.com/gliderlabs/sigil) to generate nginx configuration for each app. If you'd like to provide a custom template for your application, there are a couple options:
- Copy the following example template to a file named `nginx.conf.sigil` and either: - Copy the following example template to a file named `nginx.conf.sigil` and either:
- check it into the root of your app repo - check it into the root of your app repo for buildpack applications
- `ADD` it to your dockerfile `WORKDIR` - `ADD` it to your dockerfile `WORKDIR`
- if your dockerfile has no `WORKDIR`, `ADD` it to the `/app` folder - if your dockerfile has no `WORKDIR`, `ADD` it to the `/app` folder