use upstream nginx package
This commit is contained in:
@ -6,6 +6,21 @@ nginx_service_name: nginx
|
||||
nginx_service_state: started
|
||||
nginx_service_enabled: yes
|
||||
|
||||
nginx_etc_path: /etc/nginx
|
||||
nginx_conf_d_path: "{{ nginx_etc_path }}/conf.d"
|
||||
nginx_mime_types_path: "{{ nginx_etc_path }}/mime.types"
|
||||
|
||||
nginx_user: nginx
|
||||
nginx_worker_processes: auto
|
||||
nginx_error_log: /var/log/nginx/error.log warn
|
||||
nginx_access_log: /var/log/nginx/access.log main
|
||||
nginx_pid: /var/run/nginx.pid
|
||||
nginx_worker_connections: 1024
|
||||
nginx_default_type: application/octet-stream
|
||||
nginx_sendfile: "on"
|
||||
nginx_keepalive_timeout: 65
|
||||
nginx_gzip: "on"
|
||||
|
||||
nginx_root: /var/www/html
|
||||
nginx_index:
|
||||
- index.html
|
||||
@ -14,3 +29,5 @@ nginx_index:
|
||||
|
||||
nginx_acme_challenge_enabled: yes
|
||||
nginx_acme_challenge_path: /var/www/.acme-challenge
|
||||
|
||||
nginx_conf_d: {}
|
||||
|
Reference in New Issue
Block a user