1. Check whether port 80 is occupied. Generally, port 80 is occupied by Apache service. 2. Modify the port number of the Apache service 3. Change the port number to 8080 4. Modify nginx service configuration 5. Restart nginx service 6. The page attempts to access local resources 7.Access successful! Summarize The above is the method that I introduced to you using nginx to access local static resources on a Linux server. I hope it will be helpful to you! You may also be interested in:
|
<<: Detailed explanation of MySQL user and permission management
>>: How to customize an EventEmitter in node.js
Everyone must be familiar with table. We often en...
Table of contents 1. Understanding the Equality R...
Use event delegation to implement message board f...
This article introduces an example of how CSS3 ca...
1. Background I recently made a website, uidea, w...
The META tag is an auxiliary tag in the head area...
Preface With the crazy speculation of virtual cur...
A data volume container is a container specifical...
Let's take a look at the problem of VScode re...
Portainer Introduction Portainer is a graphical m...
1. Docker installation and startup yum install ep...
Table of contents Basic selectors: Level selector...
MySQL's MyISAM and InnoDB engines both use B+...
A hyperlink URL in Vm needs to be concatenated wit...
Recently, we need to perform a scheduled migratio...