location ^~ /api/{ ssi on; ssi_silent_errors off; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_connect_timeout 15; proxy_send_timeout 15; proxy_read_timeout 15; proxy_buffers 32 4k; proxy_pass http://aibusiness; break; }