openresty 非容器部署:
- 安装 openresty
- 基础路由配置
- wget https://openresty.org/package/centos/openresty.repo
- mv openresty.repo /etc/yum.repos.d/
- sudo yum check-update
- yum install -y openresty
-
openresty --help
-
openresty -p ./app // 启动
-
openresty -s reload -p ./app // 重载配置
-
openresty -s stop -p ./app // 停止