Revert "[优化] 添加 WebSocket 连接升级映射,更新主配置模板和测试用例"

This reverts commit 4024c85a0c.
This commit is contained in:
ryan
2026-03-15 14:00:48 +08:00
parent 4024c85a0c
commit 072930d55b
3 changed files with 5 additions and 39 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ events {
http {
include mime.types;
default_type application/octet-stream;
{{OpenRestyWebsocketConnectionMap}} log_format atsflare_json escape=json '{"ts":"$time_iso8601","host":"$host","path":"$request_uri","remote_addr":"$remote_addr","status":$status,"request_time":$request_time,"bytes_sent":$body_bytes_sent,"request_length":$request_length}';
log_format atsflare_json escape=json '{"ts":"$time_iso8601","host":"$host","path":"$request_uri","remote_addr":"$remote_addr","status":$status,"request_time":$request_time,"bytes_sent":$body_bytes_sent,"request_length":$request_length}';
access_log {{OpenRestyAccessLogPath}} atsflare_json;
sendfile on;
tcp_nopush on;