It is said that this is to imitate the configuration of apache. Nginx itself does not have it, but it is added by the Linux package manager.
So if I compile from source, there will be no such thing. How to add it?
阿神2017-05-16 17:22:31
What is conf.d used for?
nginx.conf is in the conf in the nginx installation directory.
The conf.d you mentioned is probably the path of a certain Linux distribution installed through the package manager.
/q/1010000000141674 The problem here is the same as yours.