angie nginx 替换方案

发布时间 2023-10-25 11:04:41作者: 荣锋亮

angie 是由nginx 原始团队的一些人出去创业开发的nginx 可选替换方案(core 还是基于了nginx) 同时提供了以下周边扩展

angie 一些比较方便的模块

  • 集成了proemtheus(内置)
    自己开发了可以方便监控
  • 提供了一个console
    基于angie 的api 提供了console 管理

参考默认构建命令

 
configure arguments: --prefix=/etc/angie --conf-path=/etc/angie/angie.conf --error-log-path=/var/log/angie/error.log --http-log-path=/var/log/angie/access.log --lock-path=/run/angie/angie.lock --modules-path=/usr/lib/angie/modules --pid-path=/run/angie/angie.pid --sbin-path=/usr/sbin/angie --http-client-body-temp-path=/var/cache/angie/client_temp --http-fastcgi-temp-path=/var/cache/angie/fastcgi_temp --http-proxy-temp-path=/var/cache/angie/proxy_temp --http-scgi-temp-path=/var/cache/angie/scgi_temp --http-uwsgi-temp-path=/var/cache/angie/uwsgi_temp --user=angie --group=angie --with-file-aio --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-http_v3_module --with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-threads --with-ld-opt='-Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs'

说明

目前看angie并没有太多特殊的地方,与nginx 基本上一致,只是提供了一些扩展,同时还有一些功能也是需要企业版支持的,angie 提供了
不少系统直接安装支持包,可以试试

参考资料

https://angie.software/en/
https://github.com/webserver-llc/angie
https://console.angie.software/#caches
https://angie.software/en/api/
https://angie.software/en/directives/