added support for php ini values and custom vhost config

This commit is contained in:
nd 2019-04-27 21:47:33 +02:00
parent a7a49f80d3
commit 9289015473
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
4 changed files with 26 additions and 4 deletions

View file

@ -21,6 +21,11 @@ server {
add_header {{ header }} {{ vhost.add_headers[header] }};
{% endfor %}
{% for c in vhost.custom|default([]) %}
{{ c }};
{% endfor %}
{% if vhost.backend|default(False) %}
location / {
proxy_pass {{ vhost.backend }};