manage php upstream version (styles) on vhost

pull/22/head
Emilien Mantel 2016-08-26 12:14:54 +02:00
parent 3ab8e0391c
commit 5e254331c4
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
{% extends "_base.j2" %}
{% macro phpv(version) %}
{% if version == 56 %}
{% if version == 56 or version == "5.6" %}
{{ nginx_upstream_php56 -}}
{% elif version == 70 %}
{% elif version == 70 or version == "7.0" %}
{{ nginx_upstream_php70 -}}
{% else %}
{# Hack... define another upstream #}