How to set up nginx with wordpress and MAMP?

I’ve downloaded a fresh version of wordpress 4.4.2 with MAMP and nginx. Every works initially, but when I change the permalinks to /year/month/day/slug it breaks the links and I get a 404 for posts. Is there an initial setup that needs to happen with any of the nginx configuration? If so, what’s the best way to set that up? Thanks!