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
369
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?
conf.d 是干什么用的?
nginx.conf在nginx安装目录下的conf里面.
你说的conf.d估计是某个linux发行版通过包管理器安装后的路径.
/q/1010000000141674 这里问题和你一样.