Switched nginx to map/try_files.