There is no sites-enabled or conf.d in the nginx configuration path installed from source. How can I configure it myself?
漂亮男人
漂亮男人 2017-05-16 17:20:31
0
1
474

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?

漂亮男人
漂亮男人

reply all(1)
阿神

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template