diff --git a/templates/docker-compose.yml.twig b/templates/docker-compose.yml.twig
index a1ae786618cbcf93d1c8f796b0c2fde143c32eee..1e11da3522da78fb20017d92797b671b56f64b1d 100644
--- a/templates/docker-compose.yml.twig
+++ b/templates/docker-compose.yml.twig
@@ -55,6 +55,7 @@ services:
       - php
     environment:
 {% if webserver.type == 'nginx' %}
+      NGINX_DRUPAL_FILE_PROXY_URL: 'https://{{ live.uri }}'
       NGINX_STATIC_CONTENT_OPEN_FILE_CACHE: 'off'
       NGINX_ERROR_LOG_LEVEL: debug
 {% elseif webserver.type == 'apache' %}