Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
🚨 Switch prefix from /app/.heroku to /app/kong-runtime (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
mars authored Sep 26, 2018
1 parent 8993ed9 commit 59770e1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ADMIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ heroku run bash --app $APP_NAME
# (Note: some commands require the config file and others the prefix)
# (Note: the `$KONG_CONF` variable is already defined)
~ $ kong migrations list -c $KONG_CONF
~ $ kong health -p /app/.heroku
~ $ kong health -p /app/kong-runtime
```

### Proxy & protect the Admin API
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,17 @@ heroku config:unset KONG_HEROKU_ADMIN_KEY

### Upgrade guide

🚨 **Potentially breaking changes.** Please attempt upgrades on a staging system before upgrading production.

#### The buildpack

[Buildpack v6.0.0](https://github.com/heroku/heroku-buildpack-kong/releases) supports rapid deployments using a
pre-compiled Kong binary. Your pre-existing app may require changes continue functioning.

▶️ See [UPGRADING the buildpack](https://github.com/heroku/heroku-buildpack-kong/blob/master/UPGRADING.md).

#### Kong

First, see [Kong's official upgrade path](https://github.com/Kong/kong/blob/master/UPGRADE.md).

Then, take into account these facts about how this Kong on Heroku app works:
Expand Down
2 changes: 1 addition & 1 deletion config/kong.conf.etlua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# GENERAL
#------------------------------------------------------------------------------

prefix = /app/.heroku/ # Working directory. Equivalent to Nginx's
prefix = /app/kong-runtime/ # Working directory. Equivalent to Nginx's
# prefix path, containing temporary files
# and logs.
# Each Kong process must have a separate
Expand Down

0 comments on commit 59770e1

Please sign in to comment.