python Flask setup for imagegallery with nginx static server config