client_max_body_size 10M; server { listen 80; server_name mailbox.biutag.com; location / { root /usr/share/nginx/html/mailbox; index index.html; try_files $uri $uri/ /index.html; } location /api/ { proxy_pass http://172.31.217.20:30784/; } }