feat: expose network listeners to nginx templates for all process types
This change allows users to specify a custom nginx.conf.sigil that can expose non-web process types to the outside world in addition to the web process type. Closes #3258
This commit is contained in:
@@ -47,18 +47,38 @@ Dokku will no longer distribute packages for Debian versions that are not `stabl
|
||||
|
||||
### App report flags
|
||||
|
||||
The following changes on the `apps:report` command were made in this release
|
||||
The `--git-sha` flag was moved from the `apps:report` command to the `git:report` command.
|
||||
|
||||
## Changes
|
||||
|
||||
### App report flags
|
||||
|
||||
The following changes on the `apps:report` command were made in this release:
|
||||
|
||||
- The `--git-sha` flag was moved from the `apps:report` command to the `git:report` command.
|
||||
- The `--deploy-source` flag was renamed to `--app-deploy-source`.
|
||||
- The `--locked` flag was renamed to `--app-locked`.
|
||||
|
||||
### Network report flags
|
||||
|
||||
The following changes on the `network:report` command were made in this release:
|
||||
|
||||
- The `--network-listeners` flag was renamed to `--network-web-listeners`.
|
||||
|
||||
### Plugin Triggers
|
||||
|
||||
- The `network-get-port` trigger was incorrectly documented to have the `isHerokuishContainer` argument as the third argument. The code has been fixed to respect the documentation.
|
||||
- The `network-get-listeners` trigger now takes an additional `processType` argument. If not specified, it defaults to `web`. This default will be removed in an upcoming release.
|
||||
|
||||
## Deprecations
|
||||
|
||||
- `nginx:show-conf` has been deprecated in favor of `nginx:show-config`.
|
||||
- `proxy#is_app_proxy_enabled()` is deprecated in favor of `plugn trigger proxy-is-enabled`
|
||||
- `proxy#get_app_proxy_type()` is deprecated in favor of `plugn trigger proxy-type`
|
||||
- `apps#apps_create()` is deprecated in favor of `plugn trigger app-create`
|
||||
- `apps#apps_destroy()` is deprecated in favor of `plugn trigger app-destroy`
|
||||
- `apps#apps_exists()` is deprecated in favor of `plugn trigger app-exists`
|
||||
- `apps#apps_maybe_create()` is deprecated in favor of `plugn trigger app-maybe-create`
|
||||
- `proxy#is_app_proxy_enabled()` is deprecated in favor of `plugn trigger proxy-is-enabled`.
|
||||
- `proxy#get_app_proxy_type()` is deprecated in favor of `plugn trigger proxy-type`.
|
||||
- `apps#apps_create()` is deprecated in favor of `plugn trigger app-create`.
|
||||
- `apps#apps_destroy()` is deprecated in favor of `plugn trigger app-destroy`.
|
||||
- `apps#apps_exists()` is deprecated in favor of `plugn trigger app-exists`.
|
||||
- `apps#apps_maybe_create()` is deprecated in favor of `plugn trigger app-maybe-create`.
|
||||
- `plugin trigger network-get-listeners` usage without a second `processType` argument is deprecated.
|
||||
- `.NGINX_PORT` variable usage within `nginx.conf.sigil` templates is deprecated in favor of `.PROXY_PORT`.
|
||||
- `.NGINX_SSL_PORT` variable usage within `nginx.conf.sigil` templates is deprecated in favor of `.PROXY_SSL_PORT`.
|
||||
- `.DOKKU_APP_LISTENERS` variable usage within `nginx.conf.sigil` templates is deprecated in favor of `.DOKKU_APP_WEB_LISTENERS`.
|
||||
|
||||
Reference in New Issue
Block a user