refactor: split out proxy port configuration into it's own trigger

This will allow it to be called by plugins other than the nginx-vhosts one.
This commit is contained in:
Jose Diaz-Gonzalez
2022-08-10 04:12:01 -04:00
parent 707cafd26d
commit b605de522c
4 changed files with 82 additions and 57 deletions

View File

@@ -1842,6 +1842,21 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# TODO
```
### `proxy-configure-ports`
- Description: Configures the proxy port mapping
- Invoked by: `internally triggered by proxy plugins`
- Arguments: `$APP`
- Example:
```shell
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
# TODO
```
### `proxy-disable`
- Description: Disables the configured proxy implementation for an app