server { listen 8400; location /api/ { proxy_pass http://127.0.0.1:8480; proxy_read_timeout 3600; proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } location / { root ../../msjg/web; index index.html index.htm; } location /upload/ { alias ../../msjg/upload/; } }