1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-11-22 01:13:06 +00:00

Merge pull request #42 from sent-hil/master

Update Readme to include example for setting NGINX_ROOT
This commit is contained in:
Jose Diaz-Gonzalez 2020-07-14 10:24:25 -04:00 committed by GitHub
commit 150d82865b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ heroku buildpacks:set https://github.com/dokku/buildpack-nginx.git
## Configuration
You can override the nginx root via setting the `NGINX_ROOT` environment variable. This should be a relative path in your repository.
You can override the nginx root via setting the `NGINX_ROOT` environment variable. This should be a relative path in your repository (for example `dokku config:set <app> NGINX_ROOT=_site` if you are deploying a Jekyll site).
You may completely override the built-in nginx config by placing an `app-nginx.conf.sigil` file in the root, modeled after our own [`conf/app-nginx.conf.sigil`](https://github.com/dokku/buildpack-nginx/blob/master/conf/app-nginx.conf.sigil). This will be used inside of the container, and not by the host Dokku instance. See the [sigil project](https://github.com/gliderlabs/sigil) for more information concerning the sigil format.