feat(ansible): Add webserver variables
This commit is contained in:
22
ansible/webserver-automation/group_vars/webservers.yml
Normal file
22
ansible/webserver-automation/group_vars/webservers.yml
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
# Web server variables
|
||||||
|
|
||||||
|
nginx_port: 80
|
||||||
|
nginx_ssl_port: 443
|
||||||
|
|
||||||
|
app_name: "myapp"
|
||||||
|
app_user: "webapp"
|
||||||
|
app_group: "www-data"
|
||||||
|
app_dir: "/var/www/{{ app_name }}"
|
||||||
|
|
||||||
|
domain_name: "example.com"
|
||||||
|
server_name: "{{ inventory_hostname }}"
|
||||||
|
|
||||||
|
ssl_enabled: true
|
||||||
|
ssl_email: "admin@{{ domain_name }}"
|
||||||
|
|
||||||
|
access_log: "/var/log/nginx/{{ app_name }}_access.log"
|
||||||
|
error_log: "/var/log/nginx/{{ app_name }}_error.log"
|
||||||
|
|
||||||
|
client_max_body_size: "100M"
|
||||||
|
gzip_enabled: true
|
||||||
Reference in New Issue
Block a user