From cd84b47fd14bc4025745a89a9868d25998211567 Mon Sep 17 00:00:00 2001 From: Senthil Arivudainambi Date: Sun, 5 Jul 2020 18:15:08 -0700 Subject: [PATCH] Update Readme to include example for setting NGINX_ROOT --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4508c28..a566769 100644 --- a/README.md +++ b/README.md @@ -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 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.