diff --git a/myems-api/requirements.txt b/myems-api/requirements.txt index 395a9ea9..12bd96f0 100644 --- a/myems-api/requirements.txt +++ b/myems-api/requirements.txt @@ -5,4 +5,5 @@ falcon falcon_cors falcon-multipart gunicorn -openpyxl \ No newline at end of file +openpyxl +pillow \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index d54915f7..c8b63344 100644 --- a/nginx.conf +++ b/nginx.conf @@ -44,6 +44,13 @@ http { 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 { @@ -66,6 +73,13 @@ http { 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; + } + }