roles/nginx: Add new variable "needs_php"
Used to indicate if a vhost needs PHP configuration or not, like for a static site. Set in the hosts's nginx_vhosts block. Defaults to "False" if unset.
This commit is contained in:
parent
4866083539
commit
740e5195a0
@ -6,6 +6,7 @@
|
|||||||
{# assume optional features are off unless a vhost explicitly sets them #}
|
{# assume optional features are off unless a vhost explicitly sets them #}
|
||||||
{% set enable_hsts = item.enable_hsts | default(False) %}
|
{% set enable_hsts = item.enable_hsts | default(False) %}
|
||||||
{% set has_wordpress = item.has_wordpress | default(False) %}
|
{% set has_wordpress = item.has_wordpress | default(False) %}
|
||||||
|
{% set needs_php = item.needs_php | default(False) %}
|
||||||
|
|
||||||
# http -> https vhost
|
# http -> https vhost
|
||||||
server {
|
server {
|
||||||
|
Loading…
Reference in New Issue
Block a user