flask vs nginx, test code