1 Star 3 Fork 2

godcheese / nginx-reload-from-nacos

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

nginx-reload-from-nacos

监听 nacos 服务更新(服务上线/服务下线)以自动更新 nginx conf 配置文件并 reload nginx

特性 Features

  • 支持监听多个服务
  • 支持指定配置文件
  • 支持企业微信通知
  • 支持启动多个监听实例
  • 自定义 Nacos 重要配置项

运行 Run

# simple to run
./nginx-reload-from-nacos -c "./config.yaml"
# run in background
nohup ./nginx-reload-from-nacos > ./run.log 2>&1 &

开发 Develop

  • Dev/Compile in golang >= 1.19.3
  • Dev on Fedora >= 3.7
  • Compile on CentOS >= 7.9.2009

反馈 Feedback

Issues

捐赠 Donation

如果此项目对你有所帮助,不妨请我喝咖啡。 If you find this project useful, you can buy us a cup of coffee.

Paypal Me

协议 License

MIT License Copyright (c) 2023 godcheese

MIT License Copyright (c) 2023 godcheese Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

监听 nacos 服务更新(服务上线/服务下线)以自动更新 nginx conf 配置文件并 reload nginx 展开 收起
Go 等 3 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/godcheese/nginx-reload-from-nacos.git
git@gitee.com:godcheese/nginx-reload-from-nacos.git
godcheese
nginx-reload-from-nacos
nginx-reload-from-nacos
main

搜索帮助