HauptJ.openresty
OpenResty
Configura e instala OpenResty NGINX
Requisitos
- Ansible 2.3+
- CentOS 7.4+
- Ubuntu 16.04+ [SOLO INSTALACIÓN DESDE CÓDIGO FUENTE]
Instalación
- Haz un fork de este repositorio
- git submodule add
roles/ansible-role-openresty
Ansible Galaxy: HauptJ.openresty
Variables
Openresty
Nombre | Predeterminado | Descripción |
---|---|---|
resty_install_from_source | true | Instalar desde código fuente [true] o desde repositorio [false] |
resty_compile_threads | 2 | Número de hilos para configurar y compilar |
resty_default_server | true | Configurar el servidor web predeterminado |
resty_default_web_dir | /usr/local/openresty/nginx/html/default | directorio web predeterminado |
resty_sites_dir | /usr/local/openresty/nginx/sites | directorio de sitios / vhost |
resty_web_user | nginx | Usuario y grupo del servicio web de OpenResty |
resty_conf_dir | /usr/local/openresty/nginx/conf | Directorio de archivos de configuración |
resty_log_dir | /var/log/openresty | Directorio de archivos de registro |
openresty_version | 1.11.2.5 | Versión de OpenResty |
with_luajit | true | Compilar con soporte de luajit |
with_dav | true | Compilar con soporte de dav |
with_flv | true | Compilar con soporte de flv |
with_geoip | true | Compilar con soporte de geoip |
with_gzip_stati | true | Compilar con soporte de gzip_static |
with_image_filter | true | Compilar con soporte de image_filter |
with_realip | true | Compilar con soporte de realip |
with_stub_status | true | Compilar con soporte de stub_status |
with_ssl | true | Compilar con soporte de ssl |
with_sub | true | Compilar con soporte de sub |
with_xslt | true | Compilar con soporte de xslt |
with_ipv6 | true | Compilar con soporte de IPv6 |
with_sha1 | "/usr/include/openssl" | Compilar con soporte de sha1 [DEPRECIADO] |
with_md5 | "/usr/include/openssl" | Compilar con soporte de md5 [DEPRECIADO] |
with_mail | true | Compilar con soporte de mail |
with_mail_ssl | true | Compilar con soporte de mail_ssl |
with_secure_link | true | Compilar con soporte de secure_link |
with_pcre_jit | true | Compilar con soporte de pcre jit |
with_debug | true | Compilar con el módulo de depuración |
with_auth_request | true | Compilar con el módulo de auth_request |
with_addition | true | Compilar con el módulo addition_module |
with_gunzip | true | Compilar con el módulo gunzip |
with_postgres | true | Compilar con soporte para PostgreSQL |
with_http2 | true | Compilar con soporte de http2 |
with_file_aio | true | Compilar con soporte de file AIO |
Dependencias
Ninguna
Ejemplo de Playbook
Incluyendo un ejemplo de cómo usar tu rol:
- hosts: webservers
roles:
- ansible-role-openresty
Licencia
MIT
Información del autor
- Forked from: ansible-role-openresty
Instalar
ansible-galaxy install HauptJ.openresty
Licencia
mit
Descargas
606
Propietario