23 lines
440 B
YAML
23 lines
440 B
YAML
---
|
|
# 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
|