Closed txf402066270 closed 1 year ago
vi /usr/local/nginx/confnginx.conf 修改http.server 的listen为别的端口 关闭容器重启容器会恢复到80
容器中的配置文件会被重置,改docker-compose.yml文件中的端口就好了
vi /usr/local/nginx/confnginx.conf 修改http.server 的listen为别的端口 关闭容器重启容器会恢复到80