nixy | nginx auto configuration and service discovery | Runtime Evironment library

 by   martensson Go Version: v0.16.0 License: MIT

kandi X-RAY | nixy Summary

kandi X-RAY | nixy Summary

nixy is a Go library typically used in Server, Runtime Evironment, Nginx applications. nixy has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

Nixy is a daemon that automatically configures Nginx for web services deployed on Apache Mesos and Marathon.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              nixy has a low active ecosystem.
              It has 261 star(s) with 48 fork(s). There are 14 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 21 have been closed. On average issues are closed in 31 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of nixy is v0.16.0

            kandi-Quality Quality

              nixy has 0 bugs and 0 code smells.

            kandi-Security Security

              nixy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              nixy code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              nixy is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              nixy releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of nixy
            Get all kandi verified functions for this library.

            nixy Key Features

            No Key Features are available at this moment for nixy.

            nixy Examples and Code Snippets

            No Code Snippets are available at this moment for nixy.

            Community Discussions

            Trending Discussions on nixy

            QUESTION

            NGINX: proxy_pass microservices
            Asked 2017-Sep-21 at 13:49

            I have a mesos cluster working in environment test and I set up nginx + nixy for service discovery. It is working fine, but when nginx make a proxy_pass for docker container, I receive a 404 error.

            ex: I have a Tomcat container listen in privateip:37130, if I configure proxy_pass for location /, it is working! If i configure for location /service, I get the 404 error code.

            Someone have any idea?

            My nginx.conf

            ...

            ANSWER

            Answered 2017-Sep-21 at 13:44

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install nixy

            Install nixy from pre-compiled packages. Check releases page.
            Install nixy from pre-compiled packages. Check releases page.
            Edit config (default on ubuntu is /etc/nixy.toml): # Nixy listening port port = "6000" # X-Proxy header, defaults to hostname xproxy = "" # Marathon API marathon = ["http://example01:8080", "http://example02:8080"] # add all HA cluster nodes in priority order. user = "" # leave empty if no auth is required. pass = "" # Nixy realm, set this if you want to be able to filter your apps (e.g. when you have different loadbalancers which should expose different apps) # You will also need to set "NIXY_REALM" label at your app to be included in generated conf realm = "" # Nginx nginx_config = "/etc/nginx/nginx.conf" nginx_template = "/etc/nginx/nginx.tmpl" nginx_cmd = "nginx" # optionally "openresty" or "docker exec nginx nginx" nginx_ignore_check = false # optionally disable nginx config test. Health check will always show OK. #left_delimiter = "{{" # if you want to change the default template delimiters #right_delimiter = "}}" # if you want to change the default template delimiters # Statsd settings [statsd] addr = "localhost:8125" # optional for statistics #namespace = "nixy.my_mesos_cluster" #sample_rate = 100
            Optionally edit the nginx template (default on ubuntu is /etc/nginx/nginx.tmpl)
            Install nginx or openresty and start the service. Or if you prefer running inside Docker: "docker run -d --name nginx -p 7000:7000 -v /etc/nginx:/etc/nginx nginx". You will also need to change config "nginx_cmd" to "docker exec nginx nginx" for reloads to work correctly in this case.
            Start nixy! (service nixy start)

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/martensson/nixy.git

          • CLI

            gh repo clone martensson/nixy

          • sshUrl

            git@github.com:martensson/nixy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link