From 73ffff205154863c73f4499cd1d7c97cc3125822 Mon Sep 17 00:00:00 2001 From: Mars Hall Date: Tue, 23 Jan 2024 09:18:36 -0800 Subject: [PATCH] Update static.md --- static.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static.md b/static.md index 1490d676..d6abdd35 100644 --- a/static.md +++ b/static.md @@ -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`.