fixed the bugs for nginx and pip

pull/56/head
hyh123a 2021-07-29 15:30:29 +08:00
parent 9f7eefce10
commit 7a5cde8f16
2 changed files with 16 additions and 1 deletions

View File

@ -6,3 +6,4 @@ falcon_cors
falcon-multipart falcon-multipart
gunicorn gunicorn
openpyxl openpyxl
pillow

View File

@ -44,6 +44,13 @@ http {
root /usr/share/nginx/html; root /usr/share/nginx/html;
} }
location /api {
proxy_pass http://127.0.0.1:8000/;
proxy_connect_timeout 75;
proxy_read_timeout 600;
send_timeout 600;
}
} }
server { server {
@ -66,6 +73,13 @@ http {
root /usr/share/nginx/html; root /usr/share/nginx/html;
} }
location /api {
proxy_pass http://127.0.0.1:8000/;
proxy_connect_timeout 75;
proxy_read_timeout 600;
send_timeout 600;
}
} }