pylabs.nginx

nginx

Nginxパッケージのインストール

ロール変数

nginx_cache_path: CACHE_PATH (デフォルト: /var/cache/nginx)
nginx_proxy_cache_enabled: ENABLE_PROXY_CACHE (デフォルト: false)
nginx_proxy_cache_path: PROXY_CACHE_PATH (デフォルト: "{{ nginx_cache_path }} levels=1:2 keys_zone=proxy_cache:10m inactive=1d max_size=10g;")
nginx_proxy_cache_key: PROXY_CACHE_KEY (デフォルト: "$scheme$proxy_host$uri$is_args$args;")
nginx_uwsgi_cache_enabled: ENABLE_UWSGI_CACHE (デフォルト: false)
nginx_uwsgi_cache_path: UWSGI_CACHE_PATH (デフォルト: "{{ nginx_cache_path }} levels=1:2 keys_zone=uwsgi_cache:10m inactive=1d max_size=10g;")
nginx_uwsgi_cache_key: UWSGI_CACHE_KEY (デフォルト: "$scheme$proxy_host$uri$is_args$args;")

依存関係

  • pylabs.sysbase

例プレイブック

- hosts: servers
  vars:
    nginx_cache_path: "/var/cache/nginx"
    nginx_uwsgi_cache_enabled: yes
    nginx_uwsgi_cache_path: "{{ nginx_cache_path }} levels=1:2 keys_zone=uwsgi_cache:10m inactive=1d max_size=10g;"
    nginx_uwsgi_cache_key: "$scheme$proxy_host$uri$is_args$args;"
  roles:
    - role: pylabs.nginx

ライセンス

MIT

著者情報

ウィリアム・ウー

プロジェクトについて

Install nginx package

インストール
ansible-galaxy install pylabs.nginx
ライセンス
Unknown
ダウンロード
482
所有者