Commit 425c43d6 authored by Jürgen Haas's avatar Jürgen Haas

#17 Add proxy for nginx only if available

parent 4a9be642
Pipeline #3408 passed with stage
in 4 seconds
......@@ -59,7 +59,9 @@ services:
- php
environment:
{% if webserver.type == 'nginx' %}
NGINX_DRUPAL_FILE_PROXY_URL: 'https://{{ live.uri }}'
{% if live is defined and live.uri is defined %}
NGINX_DRUPAL_FILE_PROXY_URL: '{{ live.uri }}'
{% endif %}
NGINX_STATIC_CONTENT_OPEN_FILE_CACHE: 'off'
NGINX_ERROR_LOG_LEVEL: debug
{% elseif webserver.type == 'apache' %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment