Current location - Quotes Website - Collection of slogans - How to develop a port running nginx container
How to develop a port running nginx container
Nginx container development port is running, for this reason:

1. Add a port in nginx.conf;

2. Restart nginx configuration file Nginx &;; sreload

3. ps & ampEf|grepnginx View the nginx process;

4, set the firewall open port, firewall &; Cmd& lists and. All view the open port numbers, sudo firewall &; Cmd & Add & port =18081/TCP & Permanently open port 1808 1.

5. Restart the firewall. Reload.