chore: simplify warning message

This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2026-05-25 11:53:11 -04:00
1 parent f960dc5856
commit 955f0a8f6b
1 file changed
+1 -1
+1 -1
View File
@@ -542,7 +542,7 @@ nginx_build_config() {
fi
if [[ "$NGINX_TEMPLATE_SOURCE" != "built-in" ]] && grep -E 'listen[[:space:]]+.*[[:space:]]http2[;[:space:]]' "$NGINX_TEMPLATE"; then
dokku_log_warn "Deprecated: Usage of 'listen ... http2' within nginx.conf.sigil templates is deprecated since nginx 1.25.1 in favor of the standalone 'http2 on;' directive. Use the {{ if eq \$.HTTP2_DIRECTIVE_SUPPORTED \"true\" }} conditional from the default template to support both old and new nginx versions."
dokku_log_warn "Deprecated: Usage of 'listen ... http2' within nginx.conf.sigil templates is deprecated since nginx 1.25.1 in favor of the standalone 'http2 on;' directive"
fi
fi