Updated nginx.conf to allow acced to urls without including the trailing slash.