From cd2512036227bbc020e857b60e05f5ac098aedd2 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Sun, 2 Jul 2023 12:41:35 +0200 Subject: [PATCH] Update reverse proxy message --- src/worker/proxy_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker/proxy_handler.c b/src/worker/proxy_handler.c index 2077e13..79f6883 100644 --- a/src/worker/proxy_handler.c +++ b/src/worker/proxy_handler.c @@ -54,7 +54,7 @@ static int proxy_handler_1(client_ctx_t *ctx) { char buf[1024]; - info("Reverse proxy for " BLD_STR "%s:%i" CLR_STR, ctx->conf->proxy.hostname, ctx->conf->proxy.port); + info("Reverse proxy for " BLD_STR "[%s]:%i" CLR_STR, ctx->conf->proxy.hostname, ctx->conf->proxy.port); http_remove_header_field(&res->hdr, "Date", HTTP_REMOVE_ALL); http_remove_header_field(&res->hdr, "Server", HTTP_REMOVE_ALL);