How to modify the running port if you don’t want nginx to use port 80?
Specific method:
(Recommended tutorial:nginx tutorial)
Modify the nginx configuration file, for example, if the version is nginx-1.11.10 Modify the nginx-1.11.10\conf\nginx.conf file
Modify the value corresponding to http -> server -> listen, as shown in the figure:
The above is the detailed content of How to modify the running port of nginx. For more information, please follow other related articles on the PHP Chinese website!