起因是基于 CentOS 的 Docker 容器里启动 nginx 进程时提示无法监听 80 端口 这是因为在 Linux 系统下默认只有 root 用户才能监听 1024 以下的端口,而安全起见 Nginx 进程的启动用户一般不会用 root 此时可以通过 c
阅读全文个人博客,专注 IT 相关技术分享
起因是基于 CentOS 的 Docker 容器里启动 nginx 进程时提示无法监听 80 端口 这是因为在 Linux 系统下默认只有 root 用户才能监听 1024 以下的端口,而安全起见 Nginx 进程的启动用户一般不会用 root 此时可以通过 c
阅读全文