Home > Backend Development > PHP Tutorial > Win environment nginx configuration website 403 notes nginx reverse proxy nginx what is nginx important

Win environment nginx configuration website 403 notes nginx reverse proxy nginx what is nginx important

WBOY
Release: 2016-07-29 08:52:50
Original
1430 people have browsed it

I configured my project on my colleague’s computer yesterday

After modifying host and nginx.conf, cmd to enter the nginx directory

nginx stop

start nginx

Open the server_name I configured

403

Why? First check the configuration file

to make sure there is no problem

Then check the file permissions (the permissions under win, it feels like they don’t exist, otherwise why would there be so many Family Buckets). No problem

I don’t understand, so I turned off nginx again

and found it was still 403. . What the hell, it shouldn’t be 403! It should be rejection

Check the process

There are four or five nginx processes running.

You’re kidding me

I can’t close

Task Manager, just close

and open

one by one. It’s running

Summary:

After modifying the configuration under win, be sure to restart the entire software. If you are not sure, you can open the task manager to see if there are any processes. If there is, just force it off

It is recommended not to use win for development. It’s a bit tricky. If you can buy a mac, buy it. If you can’t afford it, choose ubunto, etc. . .

The above introduces the 403 notes on the nginx configuration website in the win environment, including the content of nginx and 403. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template