HauptJ.openresty
OpenResty
Konfiguriert und installiert OpenResty NGINX
Anforderungen
- Ansible 2.3+
- CentOS 7.4+
- Ubuntu 16.04+ [NUR QUELLE INSTALLATION]
Installation
- Forken Sie dieses Repository
- git submodule add
roles/ansible-role-openresty
Ansible Galaxy: HauptJ.openresty
Variablen
Openresty
Name | Standard | Beschreibung |
---|---|---|
resty_install_from_source | true | Aus Quelle installieren [true] oder aus Repository [false] |
resty_compile_threads | 2 | Anzahl der Threads zur Konfiguration und Kompilierung |
resty_default_server | true | Standard (Willkommens-)Webserver und Webseite einrichten |
resty_default_web_dir | /usr/local/openresty/nginx/html/default | Standard-Webverzeichnis |
resty_sites_dir | /usr/local/openresty/nginx/sites | Verzeichnis für Seiten / vhost |
resty_web_user | nginx | Benutzer und Gruppe für den OpenResty-Webdienst |
resty_conf_dir | /usr/local/openresty/nginx/conf | Verzeichnis für Konfigurationsdateien |
resty_log_dir | /var/log/openresty | Verzeichnis für Protokolldateien |
openresty_version | 1.11.2.5 | OpenResty-Version |
with_luajit | true | Mit luajit-Unterstützung kompilieren |
with_dav | true | Mit dav-Unterstützung kompilieren |
with_flv | true | Mit flv-Unterstützung kompilieren |
with_geoip | true | Mit geoip-Unterstützung kompilieren |
with_gzip_stati | true | Mit gzip_static-Unterstützung kompilieren |
with_image_filter | true | Mit image_filter-Unterstützung kompilieren |
with_realip | true | Mit realip-Unterstützung kompilieren |
with_stub_status | true | Mit stub_status-Unterstützung kompilieren |
with_ssl | true | Mit ssl-Unterstützung kompilieren |
with_sub | true | Mit sub-Unterstützung kompilieren |
with_xslt | true | Mit xslt-Unterstützung kompilieren |
with_ipv6 | true | Mit IPv6-Unterstützung kompilieren |
with_sha1 | "/usr/include/openssl" | Mit sha1-Unterstützung kompilieren [ABGEROCHEN] |
with_md5 | "/usr/include/openssl" | Mit md5-Unterstützung kompilieren [ABGEROCHEN] |
with_mail | true | Mit mail-Unterstützung kompilieren |
with_mail_ssl | true | Mit mail_ssl-Unterstützung kompilieren |
with_secure_link | true | Mit secure_link-Unterstützung kompilieren |
with_pcre_jit | true | Mit pcre jit-Unterstützung kompilieren |
with_debug | true | Mit Debug-Modul kompilieren |
with_auth_request | true | Mit auth_request-Modul kompilieren |
with_addition | true | Mit addition_module kompilieren |
with_gunzip | true | Mit gunzip-Modul kompilieren |
with_postgres | true | Mit PostgreSQL-Unterstützung kompilieren |
with_http2 | true | Mit http2-Unterstützung kompilieren |
with_file_aio | true | Mit file AIO kompilieren |
Abhängigkeiten
Keine
Beispiel-Playbook
Ein Beispiel, wie Sie Ihre Rolle verwenden können:
- hosts: webservers
roles:
- ansible-role-openresty
Lizenz
MIT
Autor Information
- Abgeleitet von: ansible-role-openresty
Installieren
ansible-galaxy install HauptJ.openresty
Lizenz
mit
Downloads
606
Besitzer