mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-30 11:52:09 +07:00
Remove php upstream with TCP
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user