Giter Site home page Giter Site logo

如何运行 about nginx-nacos-upstream HOT 8 CLOSED

lihuikun avatar lihuikun commented on June 22, 2024
如何运行

from nginx-nacos-upstream.

Comments (8)

hexw avatar hexw commented on June 22, 2024 1

后面考虑独立出来吗?大部分公司对nginx的版本有要求。

不太好独立出来,对 nginx 有少量修改。

应该做成独立插件的形式的,这样绑定特定nginx 很难有人使用,对nginx 有修改的话可以使用patch -p1 这种方式,例如参考
https://github.com/yaoweibin/nginx_upstream_check_module

from nginx-nacos-upstream.

lihuikun avatar lihuikun commented on June 22, 2024

参数也是看不懂use_nacos_address data_id=cc group=aaa;这是啥意思?能不能具体一点,哪怕随便写一个ip地址都可以

from nginx-nacos-upstream.

zhwaaaaaa avatar zhwaaaaaa commented on June 22, 2024

表示看不懂实际的流程,可以写一下具体的操作流程?是下载nginx官方的包,然后将你的module放进去编译?

如何 编译 nginx 请参考 nginx 的官方文档。本项目已经包含nginx 源码,编译的命令是,

./configure --add-module=modules/auxiliary --add-module=modules/nacos && make && make install

from nginx-nacos-upstream.

zhwaaaaaa avatar zhwaaaaaa commented on June 22, 2024

参数也是看不懂use_nacos_address data_id=cc group=aaa;这是啥意思?能不能具体一点,哪怕随便写一个ip地址都可以

use_nacos_address 是 nacos 模块新加的配置,至于 data_id 和 group 代表什么请参考 nacos 官方文档。

from nginx-nacos-upstream.

lik0914 avatar lik0914 commented on June 22, 2024

这个 NGINX 版本是有强制要求吗

from nginx-nacos-upstream.

zhwaaaaaa avatar zhwaaaaaa commented on June 22, 2024

这个 NGINX 版本是有强制要求吗

本项目已经包含nginx 1.20.2 的源码,并且对 nginx 源码 有轻微改动。目的是增加 一个新的 nginx 进程用于订阅 nacos,原来的nginx 设计不支持。

from nginx-nacos-upstream.

zhushiyang avatar zhushiyang commented on June 22, 2024

后面考虑独立出来吗?大部分公司对nginx的版本有要求。

from nginx-nacos-upstream.

zhwaaaaaa avatar zhwaaaaaa commented on June 22, 2024

后面考虑独立出来吗?大部分公司对nginx的版本有要求。

不太好独立出来,对 nginx 有少量修改。

from nginx-nacos-upstream.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.