ckplus.ansible_openresty
ericyu.openresty for Ansible Galaxy
概述
Ansible Galaxy中的角色名称:**ckplus.openresty** 该Ansible角色为Openresty提供以下功能:
可选变量:通用设置
用户可配置的默认值:
# 用户和组
openresty_version: "1.11.2.3"
openresty_install_path: /opt
openresty_install_dir : /opt/openresty
openresty_download_path: /tmp
sbin_path: /usr/sbin/nginx
conf_path: /etc/nginx/nginx.conf
error_log_path: /var/log/nginx/error.log
http_client_body_temp_path: /var/lib/nginx/body
http_fastcgi_temp_path: /var/lib/nginx/fastcgi
http_log_path: /var/log/nginx/access.log
http_proxy_temp_path: /var/lib/nginx/proxy
http_scgi_temp_path: /var/lib/nginx/scgi
http_uwsgi_temp_path: /var/lib/nginx/uwsgi
lock_path: /var/lock/nginx.lock
pid_path: /var/run/nginx.pid
with_sha1: /usr/include/openssl
with_md5: /usr/include/openssl
nginx_user: www-data # 工作进程的UID
nginx_ulimit: 51200 # nginx.conf中的worker_rlimit_nofile
nginx_worker_connections: 1024 # nginx.conf中的worker_connections