Skip to content
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

DOC Mention that SS_TRUSTED_PROXY_IPS supports subnets #377

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

johannesx75
Copy link
Contributor

Since SS_TRUSTED_PROXY_IPS uses IPUtils::checkIP, it is possible to specify subnets as well as individual IPs. This is important to know for AWS ALB. So it should be in the docs.

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this addition, that's good context to have.
I've requested a couple of small changes below.

Please also retarget this to the 4.13 branch, unless this is not accurate for Silverstripe CMS 4,
Note that you may need to reset your commits after retargetting the PR.

johannesx75 and others added 2 commits October 19, 2023 10:07
Since SS_TRUSTED_PROXY_IPS uses IPUtils::checkIP, it is possible to specify subnets as well as individual IPs. This is important to know for AWS ALB. So it should be in the docs.
Co-authored-by: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com>
@johannesx75 johannesx75 changed the base branch from 5.1 to 4.13 October 19, 2023 08:20
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you for that.

This will automatically be merged up to the CMS 5 docs when the relevant GitHub action runs.

@GuySartorelli GuySartorelli merged commit cf82bdd into silverstripe:4.13 Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants