reverse_proxy
Ansible Reverse proxy
Installs Docker and configures a reverse proxy
firewalld_zones:
- name: public # optional
nics: # optional, will take all the network interfaces of the machine by default
- eth0 # optional
virtual_hosts:
- name: idm.osgiliath.net # Virual host
upstream: "idm.internal.osgiliath.net" # upstream server to proxy
referer_suffix: "/ipa/ui" # referer header suffix
proto: https # upstream proto
container: False # proxy container or real VM/bare metal
gen_certs: True # use letsencrypt to generate frontend certificate
volumes:
- "/etc/ipa:/etc/ipa:ro" # additional volumes to mount in proxy
additional_nginx_headers:
- "proxy_ssl_trusted_certificate /etc/ipa/ca.crt" # Additional nginx headers
ports_binding:
- "80:80" # mandatory for letsencrypt
- "443:443"
- name: idm.osgiliath.test
ports_binding:
- "80:80" # mandatory for letsencrypt
- "443:443"
gen_certs: yes # lets encrypt will take care of certificates
Requirements
Like any other platform role, executing tox -e pipdep
and tox -e dependency
Role Variables
Take a look at the molecule tests tests and the default variables
Dependencies
License
Author Information
- Twitter @tcharl
- Github @tcharl
- LinkedIn Charlie Mordant
About
Configures an nginx over docker to act as a reverse proxy
Install
ansible-galaxy install OsgiliathEnterprise/reverse_proxy
License
other
Downloads
11
Owner
Osgiliath frameworks and all stuff from the Osgiliath corp!