Repository URL to install this package:
|
Version:
1.0.0b1 ▾
|
---
- name: "[check pagespeed]"
set_fact:
nginx_pagespeed_enabled: "{{ webserver_use_pagespeed }}"
__nginx_from_source__: "{{ webserver_use_pagespeed }}"
- name: "[setting extra nginx vars]"
set_fact:
"{{ __nginx_config_item__.0 }}": "{{ __nginx_config_item__.1 }}"
loop: "{{ webserver_nginx_config | dictsort }}"
loop_control:
loop_var: __nginx_config_item__
- name: "[setting various nginx vars]"
set_fact:
nginx_user: "{{ webserver_user }}"
nginx_vhosts: []
nginx_remove_default_vhost: true
- name: "[set build options 1]"
set_fact:
nginx_conf: nginx.conf
nginx_conf_path: /etc/nginx/nginx.conf
nginx_lib_path: /var/lib/nginx
nginx_lock_file: /var/lock/nginx.lock
nginx_log_path: /var/log/nginx
nginx_pid_file: /run/nginx.pid
nginx_prefix: /usr/local
when: "__nginx_from_source__"
- name: "[set build options 2]"
set_fact:
nginx_bin: "{{ nginx_prefix }}/sbin/nginx"
nginx_build_options:
conf-path: "{{ nginx_conf_path }}"
error-log-path: "{{ nginx_log_path }}/error.log"
http-client-body-temp-path: "{{ nginx_lib_path }}/body"
http-fastcgi-temp-path: "{{ nginx_lib_path }}/fastcgi"
http-proxy-temp-path: "{{ nginx_lib_path }}/proxy"
http-scgi-temp-path: "{{ nginx_lib_path }}/scgi"
http-uwsgi-temp-path: "{{ nginx_lib_path }}/uwsgi"
http-log-path: "{{ nginx_log_path }}/access.log"
lock-path: /var/lock/nginx.lock
pid-path: /run/nginx.pid
prefix: "{{ nginx_prefix }}"
with-http_gzip_static_module:
with-http_realip_module:
with-http_stub_status_module:
with-ipv6:
with-pcre-jit:
with-http_ssl_module:
with-http_v2_module:
when: "__nginx_from_source__"