HauptJ.openresty

OpenResty

OpenResty NGINXを設定してインストールします。

ビルドステータス

要件

  • Ansible 2.3以上
  • CentOS 7.4以上
  • Ubuntu 16.04以上 [ソースインストールのみ]

インストール

  1. このリポジトリをフォークします。
  2. git submodule add <git host> roles/ansible-role-openresty を実行します。

Ansible Galaxy: HauptJ.openresty

変数

Openresty

名前 デフォルト 説明
resty_install_from_source true ソースからインストールする [true] または リポジトリから [false]
resty_compile_threads 2 設定およびコンパイルに使用するスレッド数
resty_default_server true デフォルトのウェブサーバーとウェブページを設定
resty_default_web_dir /usr/local/openresty/nginx/html/default デフォルトのウェブディレクトリ
resty_sites_dir /usr/local/openresty/nginx/sites サイト / バーチャルホストディレクトリ
resty_web_user nginx OpenRestyのウェブサービスユーザーおよびグループ
resty_conf_dir /usr/local/openresty/nginx/conf 設定ファイルディレクトリ
resty_log_dir /var/log/openresty ログファイルディレクトリ
openresty_version 1.11.2.5 OpenRestyのバージョン
with_luajit true luajitサポートでコンパイルする
with_dav true davサポートでコンパイルする
with_flv true flvサポートでコンパイルする
with_geoip true geoipサポートでコンパイルする
with_gzip_stati true gzip_staticサポートでコンパイルする
with_image_filter true image_filterサポートでコンパイルする
with_realip true realipサポートでコンパイルする
with_stub_status true stub_statusサポートでコンパイルする
with_ssl true sslサポートでコンパイルする
with_sub true subサポートでコンパイルする
with_xslt true xsltサポートでコンパイルする
with_ipv6 true IPv6サポートでコンパイルする
with_sha1 "/usr/include/openssl" sha1サポートでコンパイルする [非推奨]
with_md5 "/usr/include/openssl" md5サポートでコンパイルする [非推奨]
with_mail true mailサポートでコンパイルする
with_mail_ssl true mail_sslサポートでコンパイルする
with_secure_link true secure_linkサポートでコンパイルする
with_pcre_jit true pcre jitサポートでコンパイルする
with_debug true デバッグモジュールでコンパイルする
with_auth_request true auth_requestモジュールでコンパイルする
with_addition true addition_moduleでコンパイルする
with_gunzip true gunzipモジュールでコンパイルする
with_postgres true PostgreSQLサポートでコンパイルする
with_http2 true http2サポートでコンパイルする
with_file_aio true file AIOでコンパイルする

依存関係

なし

例のプレイブック

ロールの使用方法の例を含めます:

- hosts: webservers
  roles:
     - ansible-role-openresty

ライセンス

MIT

著者情報

  1. João Paulo Seregatte seregatte@gmail.com
  1. Joshua Haupt josh@hauptj.com
プロジェクトについて

Installs OpenResty Nginx

インストール
ansible-galaxy install HauptJ.openresty
ライセンス
mit
ダウンロード
606
所有者