Verifying Tengine
- Check the Nginx listen port (20000 is the HTTPS listen port, and 10000 is the HTTP listen port).
1 2 3
netstat -anpt | grep 10000 netstat -anpt | grep 20000 netstat -anpt

- View the Tengine HTML file.
1ll /usr/local/tengine-nginx/html/
- Verify the HTTPS function.
Access the Nginx HTML page using curl.
1curl -k https://127.0.0.1:20000/index.html

If the welcome to Tengine information is displayed, the HTTPS function is configured successfully.
- Verify the HTTP function.
Access the Nginx HTML page using curl.
1curl http://127.0.0.1:10000/index.html
If the welcome to Tengine information is displayed, the HTTP function is configured successfully.
Parent topic: Running and Verifying Tengine