Nginx 实践(一):修改端口

修改default.conf

docker cp web:/etc/nginx/conf.d/default.conf

修改default.conf 的端口

docker cp default.conf web:/etc/nginx/conf.d/default.conf

  1. 重启配置

nginx -s reload

posted @ 2020-10-19 17:28  鲁哒哒  阅读(417)  评论(0编辑  收藏  举报