mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-09 12:42:10 +07:00
[WIP] FreeBSD install ok
This commit is contained in:
@@ -8,7 +8,6 @@ nginx_backports: false
|
||||
#
|
||||
nginx_root: "/srv/www"
|
||||
nginx_log_dir: '/var/log/nginx'
|
||||
nginx_pid: '/run/nginx.pid'
|
||||
nginx_resolver_hosts: ['8.8.8.8', '8.8.4.4']
|
||||
nginx_resolver_valid: '300s'
|
||||
nginx_resolver_timeout: '5s'
|
||||
@@ -20,9 +19,9 @@ nginx_default_vhost_ssl: null
|
||||
#
|
||||
# Nginx directories
|
||||
#
|
||||
nginx_htpasswd_dir: '/etc/nginx/htpasswd'
|
||||
nginx_ssl_dir: '/etc/nginx/ssl'
|
||||
nginx_helper_dir: '/etc/nginx/helper'
|
||||
nginx_htpasswd_dir: '{{ nginx_etc_dir}}/htpasswd'
|
||||
nginx_ssl_dir: '{{ nginx_etc_dir}}/ssl'
|
||||
nginx_helper_dir: '{{ nginx_etc_dir}}/helper'
|
||||
|
||||
#
|
||||
# Load upstream
|
||||
@@ -45,7 +44,6 @@ nginx_worker_processes: '{{ ansible_processor_vcpus }}'
|
||||
#
|
||||
nginx_events_worker_connections: '512'
|
||||
nginx_events_multi_accept: 'on'
|
||||
nginx_events_use: 'epoll'
|
||||
|
||||
#
|
||||
# Nginx HTTP
|
||||
|
||||
Reference in New Issue
Block a user