Adapt to the new configuration file

This commit is contained in:
jonny 2022-06-26 17:34:31 +08:00 committed by GitHub
parent 6ca4461496
commit 4806403903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,9 @@
upstream think_server { upstream think_client {
server 127.0.0.1:5001; server 127.0.0.1:5001;
keepalive 64; keepalive 64;
} }
upstream think_client { upstream think_server {
server 127.0.0.1:5002; server 127.0.0.1:5002;
keepalive 64; keepalive 64;
} }
@ -29,7 +29,7 @@ server {
client_max_body_size 100m; client_max_body_size 100m;
location /think { location /api {
proxy_pass http://think_server; proxy_pass http://think_server;
proxy_read_timeout 300s; proxy_read_timeout 300s;
proxy_send_timeout 300s; proxy_send_timeout 300s;