Repository navigation
Release 1.5.4: Drupal 11.4.14 and nginx hardening - #414
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 1.5.4 updates Drupal core to 11.4.14, updates packages with advisories and adds nginx hardening.
Link to ticket
https://leantime.itkdev.dk/dashboard/show#/tickets/showTicket/9061
Description
Changes
.docker/templates/default.conf.template: Return 404 for/update.php,/install.php,/core/install.php,/core/rebuild.phpand/core/authorize.php.Return 404 for fake
css_*/js_*aggregate names and for missing files in/sites/*/files/(css|js)/.The PHP location now matches only
\.php$..github/workflows: Useactions/checkout@v7.changelog.yamlgetsbase_refthrough theBASE_REFenv.The javascript, styles and yaml workflows use
prettier --no-editorconfig..markdownlintignore: Ignore.venv/.docker-compose.yml: Fix a typo in a comment.fastcgi_read_timeout ${NGINX_FASTCGI_READ_TIMEOUT}indefault.conf.template.msmtpwithout--read-envelope-fromindocker-compose.yml.javascript.yamlandstyles.yaml.pr.yamlandbuild_release.yml).NGINX_CRON_METRICSwere already in the project.CHANGELOG.mdand update the compare links.Why
These requests caused database connection errors and 500 responses on dokk1.dk.
The nginx rules now stop these requests before they get to PHP.
Screenshot of the result
Not applicable. This change does not change the user interface.
Checklist
Additional comments or questions
None.