Skip to content

Make drupal.conf extendable #16

Description

@iBobik

In #15 I proposed to add support for specific Drupal module, but @zaporylie do not want to have this kind of config in common image and proposed to: "make nginx *.conf structure more flexible and pluggable so you could easily add s3fs.conf rather than overriding entire drupal.conf configuration"

So how about to move drupal.conf out of /etc/nginx/conf.d and add include /etc/nginx/conf.d/*.conf; into server block, so users can extend image just by Dockerfile like this:

FROM drupaldocker/nginx
COPY project.conf /etc/nginx/conf.d/

And simple project.conf with just a few lines what will be inserted inside server block (so they can reuse macros from drupal.conf like @rewrite)?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions