Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mikepruett3/ansible-role-nginx-settings

Ansible role to configure NGINX HTTP Server settings on Linux Servers.
https://github.com/mikepruett3/ansible-role-nginx-settings

ansible ansible-role nginx webserver

Last synced: about 1 month ago
JSON representation

Ansible role to configure NGINX HTTP Server settings on Linux Servers.

Awesome Lists containing this project

README

        

Ansible Role: NGINX HTTP Server Settings
=========

Ansible role to configure NGINX HTTP Server settings on Linux Servers.

Requirements
------------

The role does not require anything to run on Ubuntu, Debian or RHEL and its derivatives.

Role Variables
--------------

Available variables are listed below, along with default values (see ```defaults/main.yml```):

``` yaml
proxy_host: "myproxyserver.example.com"
```

```proxy_host:``` **(Required)** Hostname or IP Address of the Proxy Server to use.

```proxy_port:``` **(Required)** Port to use to connect with the Proxy Server.

```proxy_protocol``` **(Required)** Protocol to use to connect with the Proxy Server. This should be either **http** or **https**.

Role variables can be stored with the ```hosts.yaml``` file, or in the main variables file.

Dependencies
------------

None.

Example Playbook
----------------

``` yaml
- hosts: servers
roles:
- role: mikepruett3.nginx-settings
```

License
-------

MIT

Author Information
------------------

Role created by [mikepruett3](https://github.com/mikepruett3) on [Github.com](https://github.com/mikepruett3/ansible-role-nginx-settings)