Remove php upstream with TCP
parent
1602c28a62
commit
5ea3641fe7
|
@ -25,11 +25,6 @@ nginx_php: false
|
||||||
nginx_php_method: "unix"
|
nginx_php_method: "unix"
|
||||||
nginx_php_sockets:
|
nginx_php_sockets:
|
||||||
- unix: "/var/run/php5-fpm.sock"
|
- unix: "/var/run/php5-fpm.sock"
|
||||||
- host: "127.0.0.1"
|
|
||||||
port: "15000"
|
|
||||||
weight: "1"
|
|
||||||
max_fails: "5"
|
|
||||||
fail_timeout: "10s"
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Nginx configuration
|
# Nginx configuration
|
||||||
|
|
|
@ -13,8 +13,6 @@
|
||||||
line="127.0.3.3 {% for n in nginx_vhosts %}{% if n.redirect_from is defined %}{% for r in n.redirect_from %}{{ r }} {% endfor %}{% endif %}{% endfor %}"
|
line="127.0.3.3 {% for n in nginx_vhosts %}{% if n.redirect_from is defined %}{% for r in n.redirect_from %}{{ r }} {% endfor %}{% endif %}{% endfor %}"
|
||||||
vars:
|
vars:
|
||||||
nginx_php: true
|
nginx_php: true
|
||||||
nginx_php_sockets:
|
|
||||||
- unix_socket: "/var/run/php5-fpm.sock"
|
|
||||||
nginx_vhosts:
|
nginx_vhosts:
|
||||||
- name:
|
- name:
|
||||||
- 'test.local'
|
- 'test.local'
|
||||||
|
|
Loading…
Reference in New Issue