Merge pull request #66 from fc-anjos/docs/nginx_default_request

Fix NGINX_DEFAULT_REQUEST snippet
This commit is contained in:
josegonzalez 2023-01-18 15:17:37 -05:00 committed by GitHub
commit 61bfffb6c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ By default, this buildpack will 404 if a requested file is not found. For static
```shell ```shell
# where the app is named `static-app` # where the app is named `static-app`
# and the desired default response is index.html # and the desired default response is index.html
dokku config:set static-app NGINX_ROOT=index.html dokku config:set static-app NGINX_DEFAULT_REQUEST=index.html
``` ```
### Custom nginx config file ### Custom nginx config file