Nginx Concurrent limit by per ip

How to limit concurrent http requests with nginx? Like “php -S localhost:8000

I tried but he responding status code to 503 (we need handle when other requests completed):

limit_conn_zone $  binary_remote_addr zone=addr:1m; limit_conn addr 1;