From 48064039039ba2e056a39bb3801b3c2eca25b3fd Mon Sep 17 00:00:00 2001 From: jonny <475634114@qq.com> Date: Sun, 26 Jun 2022 17:34:31 +0800 Subject: [PATCH] Adapt to the new configuration file --- nginx.conf.bak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.conf.bak b/nginx.conf.bak index f3e36d98..fca91b57 100644 --- a/nginx.conf.bak +++ b/nginx.conf.bak @@ -1,9 +1,9 @@ -upstream think_server { +upstream think_client { server 127.0.0.1:5001; keepalive 64; } -upstream think_client { +upstream think_server { server 127.0.0.1:5002; keepalive 64; } @@ -29,7 +29,7 @@ server { client_max_body_size 100m; - location /think { + location /api { proxy_pass http://think_server; proxy_read_timeout 300s; proxy_send_timeout 300s;