Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update static.md
Browse files Browse the repository at this point in the history
mars authored Jan 23, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent f45bcfc commit 73ffff2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static.md
Original file line number Diff line number Diff line change
@@ -23,6 +23,10 @@ web: bin/start-nginx-static
1. Copy the [static config](config/nginx-static.conf.erb) into your app as `config/nginx.conf.erb`.
2. Set the [document root](#document-root) for your app (default is `/app/dist`, this varies by framework/build system).

#### Migrating from heroku-buildpack-static

To extract the Nginx config from a prior `static.json` app, see [heroku-buildpack-static transition guide](https://github.com/heroku/heroku-buildpack-static#warning-heroku-buildpack-static-is-deprecated).

## Configuration

Everything is set-up in `config/nginx.conf.erb`.

0 comments on commit 73ffff2

Please sign in to comment.