#user nobody; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfile on; client_max_body_size 100M; # 允许上传的最大文件大小为100MB keepalive_timeout 65; server { listen 80; server_name ds-exam; location / { root html; index index.html index.htm; } location /base { proxy_pass http://127.0.0.1:9001/base; } } }