ZeusWPI.nginx_vhost
NGINX vhost
This is a guide to install an NGINX virtual host (vhost). It is designed to work with ZeusWPI.nginx_certbot_base
. Simply point to a vhost file, and it will be copied over. You can also use jinja templates if you want!
Requirements
You need a working operating system.
Role Variables
Look at defaults/main.yml
for a list of variables and their descriptions.
Dependencies
ZeusWPI.nginx_certbot_base
Example Playbook
This example shows how to install the vhost to /etc/nginx/sites-available/webapp.conf
.
- hosts: servers
roles:
- role: ZeusWPI.nginx_vhost
nginx_vhost_src: roles/webapp/templates/webapp.nginx
nginx_vhost_name: webapp.conf
tags: nginx
If you don’t specify the nginx_vhost_file
variable, it will use the base name by default. In this case, the vhost will be copied to /etc/nginx/sites-available/webapp.nginx
.
License
This tool is licensed under the GNU General Public License v3.0.
Author Information
If you have questions or want to chat, feel free to contact me at [email protected].
Installa
ansible-galaxy install ZeusWPI.nginx_vhost
Licenza
Unknown
Download
93
Proprietario
Zeus WPI is the student association for Computer Science at Ghent University. See also github.com/12urenloop and git.zeus.gent