pandaomeng / gitalk-comment

使用gitalk存储博客的评论
0 stars 0 forks source link

使用dcoker快速启动nginx | Hexo #24

Open pandaomeng opened 5 years ago

pandaomeng commented 5 years ago

http://www.pandaomeng.com/2018/07-27-docker-start-nginx/

创建nginx挂载目录12345mkdir -p ~/nginx/html ~/nginx/logs ~/nginx/confcd ~/nginx/touch html/index.htmltouch conf/default.confecho 'hello world' > html/index.html 命令的参数: -p (–parents):可以是一个路径名称。