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
This article shares with you the specific method ...
Background: position: sticky is also called stick...
Preface MySQL slow query log is a function that w...
Last night I wrote an essay about the browser ren...
Preface Recently, when I was building a project, ...
This article shares the specific code of using ca...
This article will discuss these 4 principles as t...
Introduction to Docker Docker is an open source c...
Table of contents Tomcat class loader hierarchy W...
This article mainly introduces the process of imp...
What? What star coat? Well, let’s look at the pic...
This article example shares the specific code of ...
What are the lifecycle functions of React compone...
Upgrade background: In order to solve the vulnera...
1. The difference between Http and Https HTTP: It...