GithubHelp home page GithubHelp logo

ansible-role-prometheus-proxy's People

Contributors

andrewhowdencom avatar hbarza avatar omidy1 avatar skalenji avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

42school hbarza

ansible-role-prometheus-proxy's Issues

Changes in Fork - Dependency removed and IP Whitelist

Thanks for publishing this role.

It was a convenient starter for me to use NGINX as reverse proxy for Prometheus exporters.
I've made a few changes in a fork and are happy to do a PR for some/all if suitable for you?

  1. Remove dependency on geerlingguy.nginx role by adding a handler to reload nginx. Same could be done for apache2

    • On ubuntu, nginx is a simple ansible task apt state=present away. So I simplified my playbook to install nginx + remove default site, then run this role. Couldn't see the need for geerlingguy role.
    • The nginx official ansible role also seemed heavyweight for my use case.
    • May revisit later for additional configuration like compression, etc, or add to template.
  2. Add simple IP whitelist to template.

    • With encryption and authn we are most of the way there. IP whitelist just adds another layer.
    • One might combine/negate need for this with firewall rules though depending on your viewpoint.

I couldn't see a license (MIT/Apache?) so hope this was okay (per Github TOS?). Thanks again.

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.