XF 1.3 Friendly URL Redirects for NginX

For some reason my VPS isn't redirecting properly for friendly URLs. The forum is installed to http://www.domain.com/forum/. I'm using Nginx with Centmin Mod and I have the following in my domain.com.conf file: