From 924f19bb2abbd52bde0844d2168a9f3367879e16 Mon Sep 17 00:00:00 2001 From: Tuan Pham Anh Date: Sat, 14 Oct 2023 12:49:27 +0700 Subject: [PATCH] ... --- proxy/public/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/public/nginx.conf b/proxy/public/nginx.conf index accba497..d7c2fdff 100644 --- a/proxy/public/nginx.conf +++ b/proxy/public/nginx.conf @@ -19,10 +19,10 @@ http { default_type application/octet-stream; # config to log slow requests only - log_format main escape=none '$request_time "$time_local" $host" "$request" $request_body'; + log_format main escape=none '$request_time "$time_local" $host" $request_uri $request_body'; map $request_uri $loggable_request { - ^.*\/websocket.*$ 0; + ~*\/websocket 0; default 1; } map $request_time $loggable