Skip to content

Commit

Permalink
Revert "Merge pull request #1522 from danskernesdigitalebibliotek/no-…
Browse files Browse the repository at this point in the history
…varnish-for-static-files"

This reverts commit 4cf3b77, reversing
changes made to 35f802f.

Disabling Varnish caching for static files did not impact Varnish memory usage
significantly. However it notably increased file system usage and thus brought
up cost.

Consequently we have decided to revert the change.
  • Loading branch information
kasperg committed Dec 20, 2024
1 parent 2a486d9 commit 328e127
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 48 deletions.
45 changes: 0 additions & 45 deletions lagoon/conf/nginx/server_append_disable_varnish_static_files.conf

This file was deleted.

3 changes: 0 additions & 3 deletions lagoon/nginx.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ RUN fix-permissions /etc/nginx/conf.d/drupal/location_prepend_drupal_authorize.c
COPY lagoon/conf/nginx/location_prepend_drupal_update.conf /etc/nginx/conf.d/drupal/location_prepend_drupal_update.conf
RUN fix-permissions /etc/nginx/conf.d/drupal/location_prepend_drupal_update.conf

COPY lagoon/conf/nginx/server_append_disable_varnish_static_files.conf /etc/nginx/conf.d/drupal/server_append_disable_varnish_static_files.conf
RUN fix-permissions /etc/nginx/conf.d/drupal/server_append_disable_varnish_static_files.conf

COPY lagoon/conf/nginx/server_append_drupal_authorize.conf /etc/nginx/conf.d/drupal/server_append_drupal_authorize.conf
RUN fix-permissions /etc/nginx/conf.d/drupal/server_append_drupal_authorize.conf

Expand Down

0 comments on commit 328e127

Please sign in to comment.