geerlingguy / geerlingguy/drupal-for-kubernetes
Configure trusted host settings in Docker container environment
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 177
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
From the Status report page (https://www.pidramble.com/admin/reports/status):
Not enabled
Thetrusted_host_patternssetting is not configured insettings.php. This can lead to security vulnerabilities. It is highly recommended that you configure this. See Protecting against HTTP HOST Header attacks for more information.
I should add a setting for www.pidramble.com in production, or localhost locally.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Drupal status report and the project's settings.php configuration, then read the linked trusted host settings guidance. Determine how production and local container environments provide their host values. Done means the appropriate host setting is configured for each environment and the status report no longer warns that trusted_host_patterns is missing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, kubernetes, php
- Domain
- backend, devops, security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100