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

Fix trusted proxies settings & Move ips to config & Add ipv6 #692

Merged

Conversation

RMartinOscar
Copy link
Contributor

@RMartinOscar RMartinOscar commented Oct 29, 2024

image
This was due to config('trustedproxy.proxies') being a string so you have to implode it otherwise it will put a blank string in by default
image

@RMartinOscar RMartinOscar added the 🐛 bug Something isn't working label Oct 29, 2024
@RMartinOscar RMartinOscar self-assigned this Oct 29, 2024
app/Filament/Pages/Settings.php Outdated Show resolved Hide resolved
@RMartinOscar
Copy link
Contributor Author

RMartinOscar commented Oct 31, 2024

Should i make it pull regularly or leave it to only manual via Settings ?
Also should i add ENV variables ?

@Boy132
Copy link
Member

Boy132 commented Oct 31, 2024

Should i make it pull regularly or leave it to only manual via Settings ?

Only manual, there is no reason to pull it regulalry.

Also should i add ENV variables ?

No, it's fine.

But remove the service. That's unnecessary.

app/Services/Helpers/TrustedProxyService.php Outdated Show resolved Hide resolved
config/trustedproxy.php Outdated Show resolved Hide resolved
@notAreYouScared notAreYouScared dismissed lancepioch’s stale review November 1, 2024 22:16

Changes requested were made.

@notAreYouScared notAreYouScared merged commit 340ae80 into pelican-dev:main Nov 1, 2024
15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants