fixed connection limit on nginx template file