fix structure. Add test in nginx