mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-02-24 09:03:29 +07:00
manage php upstream version (styles) on vhost
This commit is contained in:
@@ -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 #}
|
||||
|
||||
Reference in New Issue
Block a user