diff --git a/nginx/crawlab.conf b/nginx/crawlab.conf index 36c9f2b1..d04da86c 100644 --- a/nginx/crawlab.conf +++ b/nginx/crawlab.conf @@ -6,13 +6,13 @@ server { gzip_types text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png; gzip_vary off; gzip_disable "MSIE [1-6]\."; - listen 8080; - root /app/dist; - index index.html; + client_max_body_size 50m; + listen 8080; + root /app/dist; + index index.html; - location /api/ { - rewrite /api/(.*) /$1 break; - proxy_pass http://localhost:8000/; - client_max_body_size 50m; - } + location /api/ { + rewrite /api/(.*) /$1 break; + proxy_pass http://localhost:8000/; + } }