mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
Manages PHP minor versions
This commit is contained in:
@@ -21,7 +21,9 @@
|
||||
- fcgiwrap
|
||||
- nghttp2
|
||||
- php5-fpm
|
||||
- php5-sqlite
|
||||
- php7.0-fpm
|
||||
- php7.0-sqlite3
|
||||
- strace
|
||||
- vim
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
set_fact:
|
||||
nginx_pkgng_package: 'nginx-devel'
|
||||
nginx_user: 'www'
|
||||
nginx_php7: false
|
||||
nginx_php5_sockets:
|
||||
nginx_php70: false
|
||||
nginx_php56_sockets:
|
||||
- host: '127.0.0.1'
|
||||
port: 9000
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
nginx_worker_processes: 1 # Ansible+FreeBSD can't detect CPU number
|
||||
nginx_apt_package: 'nginx-extras'
|
||||
nginx_backports: true
|
||||
nginx_php5: true
|
||||
nginx_php7: true
|
||||
nginx_php56: true
|
||||
nginx_php70: true
|
||||
nginx_upstreams:
|
||||
- name: 'test'
|
||||
servers:
|
||||
@@ -147,7 +147,7 @@
|
||||
'/':
|
||||
- 'alias /var/tmp;'
|
||||
- name: 'test-php.local'
|
||||
php_version: 7
|
||||
php_version: 70
|
||||
upstream_params:
|
||||
- 'fastcgi_param FOO bar;'
|
||||
redirect_from:
|
||||
|
||||
Reference in New Issue
Block a user