pylabs.nginx

nginx

Instalar el paquete Nginx

Variables de Rol

nginx_cache_path: RUTA_DE_CACHE (predeterminado: /var/cache/nginx)
nginx_proxy_cache_enabled: HABILITAR_CACHE_PROXY (predeterminado: false)
nginx_proxy_cache_path: RUTA_CACHE_PROXY (predeterminado: "{{ nginx_cache_path }} levels=1:2 keys_zone=proxy_cache:10m inactive=1d max_size=10g;")
nginx_proxy_cache_key: CLAVE_CACHE_PROXY (predeterminado: "$scheme$proxy_host$uri$is_args$args;")
nginx_uwsgi_cache_enabled: HABILITAR_CACHE_UWSGI (predeterminado: false)
nginx_uwsgi_cache_path: RUTA_CACHE_UWSGI (predeterminado: "{{ nginx_cache_path }} levels=1:2 keys_zone=uwsgi_cache:10m inactive=1d max_size=10g;")
nginx_uwsgi_cache_key: CLAVE_CACHE_UWSGI (predeterminado: "$scheme$proxy_host$uri$is_args$args;")

Dependencias

  • pylabs.sysbase

Ejemplo de Playbook

- hosts: servidores
  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

Licencia

MIT

Información del Autor

William Wu

Acerca del proyecto

Install nginx package

Instalar
ansible-galaxy install pylabs.nginx
Licencia
Unknown
Descargas
482
Propietario