From 73ffff205154863c73f4499cd1d7c97cc3125822 Mon Sep 17 00:00:00 2001 From: Mars Hall Date: Tue, 23 Jan 2024 09:18:36 -0800 Subject: [PATCH 1/2] Update static.md --- static.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static.md b/static.md index 1490d67..d6abdd3 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`. From b36e7a6d6083c31d1d1c4d9b0798de213e22e37b Mon Sep 17 00:00:00 2001 From: Mars Hall Date: Tue, 23 Jan 2024 09:40:48 -0800 Subject: [PATCH 2/2] Update changelog.md --- changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.md b/changelog.md index 7cba677..e6cfd6b 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unlreleased] - XXXX-XX-XX ### Changes - [heroku-18] Removed +- Add documentation for migrating from heroku-community/static buildpack ## [1.10] - 2023-06-13 ### Changes