/ansible-nginx-proxy-simple-token

This ansible repo will add an nginx proxy in front of another http service and add a simple token

Primary LanguageJinja

Role Name

A brief description of the role goes here.

Requirements

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables

NGINX_PROXY_PORT, default 8080 NGINX_PROXY_HOST, default "127.0.0.1" NGINX_SERVER_NAME, default "_" NGINX_RESOLVER, default 8.8.8.8 NGINX_AUTH_TYPE: "apitoken" # "basicauth" NGINX_API_TOKEN_KEY: "SimpleToken" NGINX_API_TOKEN, "" NGINX_PUBLIC_ENDPOINT: "" NGINX_AUTH_USER: "myappuser" NGINX_AUTH_PASS: "" NGINX_BASICAUTH_TITLE: "Restricted" NGINX_504_LOGPATH: no default, if defined will replace 504

NGINX_WHITELIST:

Dependencies

A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

BSD

Author Information

An optional section for the role authors to include contact information, or a website (HTML is not allowed).