feat: add support for various timeout-related functions to nginx, openresty and k3s plugins
Closes #7267
This commit is contained in:
@@ -124,6 +124,10 @@ trigger-openresty-vhosts-docker-args-process-deploy() {
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.bind-address-ipv4=$value'"
|
||||
value="$(fn-openresty-bind-address-ipv6 "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.bind-address-ipv6=$value'"
|
||||
value="$(fn-openresty-client-body-timeout "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.client-body-timeout=$value'"
|
||||
value="$(fn-openresty-client-header-timeout "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.client-header-timeout=$value'"
|
||||
value="$(fn-openresty-client-max-body-size "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.client-max-body-size=$value'"
|
||||
value="$(fn-openresty-error-log-path "$APP")"
|
||||
@@ -142,6 +146,10 @@ trigger-openresty-vhosts-docker-args-process-deploy() {
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.domains=$value'"
|
||||
value="$(plugn trigger network-get-property "$APP" initial-network)"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.initial-network=$value'"
|
||||
value="$(fn-openresty-keepalive-timeout "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.keepalive-timeout=$value'"
|
||||
value="$(fn-openresty-lingering-timeout "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.lingering-timeout=$value'"
|
||||
value="$(echo "$APP_PORT_MAP" | xargs)"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.port-mapping=$value'"
|
||||
value="$(fn-openresty-proxy-buffer-size "$APP")"
|
||||
@@ -160,6 +168,8 @@ trigger-openresty-vhosts-docker-args-process-deploy() {
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.proxy-send-timeout=$value'"
|
||||
value="$(fn-openresty-send-timeout "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.send-timeout=$value'"
|
||||
value="$(fn-openresty-send-timeout "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.send-timeout=$value'"
|
||||
value="$(fn-openresty-underscore-in-headers "$APP")"
|
||||
[[ -n "$value" ]] && output="$output '--label=openresty.underscore-in-headers=$value'"
|
||||
value="$(fn-openresty-x-forwarded-for-value "$APP")"
|
||||
|
||||
Reference in New Issue
Block a user