Skip to content
Snippets Groups Projects
Commit 425c43d6 authored by jurgenhaas's avatar jurgenhaas
Browse files

#17 Add proxy for nginx only if available

parent 4a9be642
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment