From 2d7050d28038a45a474d0e55eae740cb987a9190 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Wed, 15 Feb 2023 11:47:05 +0000 Subject: [PATCH] Disable proxy protocol Signed-off-by: Marcus Noble --- manifests/nginx-lb/nginx-lb.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/nginx-lb/nginx-lb.yaml b/manifests/nginx-lb/nginx-lb.yaml index 398a607..ec8bfe4 100644 --- a/manifests/nginx-lb/nginx-lb.yaml +++ b/manifests/nginx-lb/nginx-lb.yaml @@ -336,7 +336,7 @@ subjects: apiVersion: v1 data: allow-snippet-annotations: "true" - use-proxy-protocol: "true" + # use-proxy-protocol: "true" log-format-upstream: '{"time": "$time_iso8601", "request_id": "$req_id", "remote_user": "$remote_user", "bytes_sent": $bytes_sent, "request_time": $request_time, "status": $status, "host": "$host", "request_proto": "$server_protocol", "path": "$uri", "request_query": "$args", "request_length": $request_length, "duration": $request_time,"method": "$request_method", "http_referrer": "$http_referer", "http_user_agent": "$http_user_agent", "redirect_location": "$redirect_location" }' plugins: "redirect_location" location-snippet: |