mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-11 12:52:10 +07:00
manage php upstream version (styles) on vhost
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
{% extends "_base.j2" %}
|
{% extends "_base.j2" %}
|
||||||
|
|
||||||
{% macro phpv(version) %}
|
{% macro phpv(version) %}
|
||||||
{% if version == 56 %}
|
{% if version == 56 or version == "5.6" %}
|
||||||
{{ nginx_upstream_php56 -}}
|
{{ nginx_upstream_php56 -}}
|
||||||
{% elif version == 70 %}
|
{% elif version == 70 or version == "7.0" %}
|
||||||
{{ nginx_upstream_php70 -}}
|
{{ nginx_upstream_php70 -}}
|
||||||
{% else %}
|
{% else %}
|
||||||
{# Hack... define another upstream #}
|
{# Hack... define another upstream #}
|
||||||
|
|||||||
Reference in New Issue
Block a user