Skip to content
Snippets Groups Projects

WIP custom preset for nginx

Merged Dejan requested to merge nginx/custom-preset into main
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -147,6 +147,10 @@ services:
- {{ projectroot }}:/var/www/html
{% if drupal.live|default(0) %}
- {{ projectrootfiles }}:/data/default
{% endif %}
{% if webserver.type == 'nginx' and webserver.preset == 'custom' %}
- {{ projectroot }}/nginx/custom.conf:/etc/gotpl/presets/custom.conf.tmpl
- {{ projectroot }}/nginx/upstream.custom.conf:/etc/gotpl/includes/upstream.custom.conf.tmpl
{% endif %}
labels:
traefik.enable: 'true'
Loading