GithubHelp home page GithubHelp logo

chef-reverseproxy's Introduction

chef-reverseproxy Cookbook

This cookbook install and configure a reverse proxy http without mod_SSL

Requirements

packages

  • apache2
  • hostsfile

Attributes

Usage

chef-reverseproxy::default

Just include chef-reverseproxy in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[chef-reverseproxy]"
  ]
}

Create a data bag named reverseproxies:

knife data bag create reverseproxies

Create also a data bag item named with the fqdn node ("node_example_com") with underscores in place of dot.

knife data bag from file reverseproxies node_example_com.json

With node_example_com.json :

{
  "id": "node_example_com",
  "members": "test.gov.pf , test2.gov.pf , test3.gov.pf",
  "test.gov.pf": {
    "server_name": "test.gov.pf",
    "server_name_proxy": "test.srv.gov.pf",
    "server_ip_proxy": "192.168.0.210"
  },
  "test2.gov.pf": {
    "server_name": "test2.gov.pf",
    "server_name_proxy": "test2.srv.gov.pf",
    "server_ip_proxy": "192.168.0.212"
  },
  "test3.gov.pf": {
    "server_name": "test3.gov.pf",
    "server_name_proxy": "test3.srv.gov.pf",
    "server_ip_proxy": "192.168.0.213"
  }
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Stéphane LII

chef-reverseproxy's People

Contributors

sitle avatar

Watchers

James Cloos avatar  avatar

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.