fixed the bugs for nginx and pip
parent
9f7eefce10
commit
7a5cde8f16
|
@ -6,3 +6,4 @@ falcon_cors
|
||||||
falcon-multipart
|
falcon-multipart
|
||||||
gunicorn
|
gunicorn
|
||||||
openpyxl
|
openpyxl
|
||||||
|
pillow
|
14
nginx.conf
14
nginx.conf
|
@ -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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue