-
Notifications
You must be signed in to change notification settings - Fork 72
Site Template Customizations Documentation #2312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
||
### Blocking by User Agent | ||
|
||
You can modify how nginx handles certain user agents by modifying `/etc/nginx/shared/drupal.defaults.conf` inside your Drupal container. For example, by adding: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add some guidance here on how to do this.
We should utilize buildkit's nginx conf that includes rules from any *.conf
file in /etc/nginx/http.d/
in the drupal container. So IMO the guidance should be to bind mount a new file in that location and/or add that to your Dockerfile build. My preference would be to bind mount it in docker compose but building it in the Dockerfile is probably more durable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, I think this is such a vital part of having a web property available on the internet we should probably just put this rule into the dockerfile in site template with a conf file in that directory so people can edit it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually making the regex an env var in isle-buildkit might be the best option
Co-authored-by: Joe Corall <[email protected]>
Co-authored-by: Joe Corall <[email protected]>
Purpose / why
Adding information about customizing your site template sites
What changes were made?
Added a new page with some empty sections that need to be filled in. Some of these are issues that were identified here: #2286
Verification
These sections should be filled in then tested
Interested Parties
Checklist
Pull-request Reviewer
Pull-request reviewer should ensure the following:
Person Merging
The person merging should ensure the following: