- Determine if Nginx is started
Enter: ps aux|grep nginx
2. Then check whether the 80-port is assigned to nginx
Enter: netstat -ntlp
3. Enter http://IP in the browser
An interface appears to indicate that nginx starts normally
4. ngnix warm start
After modifying the ngnix file, use ngnix -s reload for hot start
5. Other
(1) If the 80-port Ubuntu operating system is not open, the operation is as follows
a. Allow all ip access to 80
iptables -I INPUT -p tcp --dport 80 -j ACCEP b. 保存
iptables-save > /root/iptables.conf
c. View the rule list
iptables -L