Nginx Config on DreamHost VPS

I got my site up and running on nginx on my Dreamhost VPS. Cool. I wanted to limit the number of connections per IP by adding the following to the http block of the site-wide nginx conf file (/dh/nginx/servers/httpd-psxxxxxx/nginx.conf):

When the server is rebooted nginx fails to startup. I have to go to the nginx file again, comment out the two lines about limiting the number of connections per IP, reload nginx, then go back and uncomment the two lines again, and then reload nginx. After that everything is fine.

If I try and manually reloading nginx after a server reboot I get the following error message: