docker 怎么配置nginx 文件路径
巴扎黑
巴扎黑 2017-04-24 15:59:29
0
1
825

docker 怎么配置nginx 文件路径

巴扎黑
巴扎黑

reply all(1)
给我你的怀抱

I don’t know if you want to configure the path of the nginx configuration file or configure the path parsed in the nginx configuration.

If it is the path to the nginx configuration file, this has been specified in the startup command of the image (or the default value is directly adopted), and can be changed either by overriding the CMD startup command when creating, or by modifying the image. However, the most recommended method is to overwrite the original configuration file through -v mounting configuration file to update. This kind of reusability is the best.

If you modify the path parsed in the nginx configuration, just add the modified configuration file to the container through the above method.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!