跳至主要内容
五折优惠 全部方案,限时优惠。起价 $2.48/mo
OpenResty

OpenResty

OpenResty 是一个完整的 Web 应用服务器,将标准 nginx 核心与 LuaJIT、精选 Lua 库和第三方 nginx 模块打包在一起,专为高并发动态 Web 应用、API 和网关而构建。GitHub 星标 13,900+。

快速概览

13.9k

GitHub star 数

78

活跃安装数

版本 Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4,IPV6

活跃安装数为示例数据(预览版);正式版本将接入真实数据。

访问 OpenResty

  • 在浏览器打开: http://<SERVER_IP>

重要文件与目录

  • 主配置: /usr/local/openresty/nginx/conf/nginx.conf
  • 配置目录: /usr/local/openresty/nginx/conf
  • Lua 库: /usr/local/openresty/lualib
  • Web 根目录 /usr/local/openresty/nginx/html
  • 日志目录: /usr/local/openresty/nginx/logs
  • Systemd 服务: /lib/systemd/system/openresty.service

管理 OpenResty

检查服务状态:

systemctl status openresty

重启 OpenResty:

systemctl restart openresty

重新加载配置:

systemctl reload openresty

测试配置:

openresty -t

查看日志:

journalctl -u openresty -f

更多 Web 服务器

相关应用。

Deploy OpenResty now. 起价 $2.48/月。