Fix nginx configuration to handle Angular's html5mode.