国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Nginx default.conf problem
迷茫
迷茫 2017-05-16 17:18:20
0
1
1228

After using Docker and starting the nginx official image of Docker Hub, there are two configuration files in the container.
One is: /etc/nginx/conf.d/default.conf
The other one is: /etc/nginx/nginx.conf

I don’t know what the difference is between these two files.
So I downloaded the compressed package from the nginx official website to check it out (not yum installation, just downloading),
But there is only nginx.conf in the compressed package, and there is no default .conf,
So enter the container and open it to see, but there is no vi in ??the container, so it cannot be opened.
Question:
Is there any other way to view the files in the container (other than installing vi)?

迷茫
迷茫

業(yè)精于勤,荒于嬉;行成于思,毀于隨。

reply all(1)
洪濤

nginx.conf is the configuration file loaded by nginx by default

You can view the nginx default configuration file path through nginx -V.

I have never used docker nginx, but I guess default.conf may be included in nginx.conf. In other words, nginx.conf is the main configuration file, and default.conf is the file that configures a default virtual host.

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