Everything is OK when visit http://:8082 directly. Then create a server config (follow the official example) in Nginx:
http://:8082