Skip to content

Conversation

@macaws
Copy link
Contributor

@macaws macaws commented Jul 21, 2025

Since it's likely that your entire environment would be "insecure", it only makes sense to be able to configure this globally.

This allows you to set the following in your server's host file and ignore SSL errors:

127.0.0.1 mydomain.com

@jasonvarga
Copy link
Member

Are you running this on production? It's already running without ssl verification if your APP_ENV is local.

@macaws
Copy link
Contributor Author

macaws commented Jul 24, 2025

Hey @jasonvarga we use a reverse proxy setup on production environments - so when accessing the site locally, we run into a host of issues, this being one. To completely bypass Cloudflare (which was interrupting our cache warm tasks), we've added the above example to the hosts file, which further complicates SSL verification.

@jasonvarga jasonvarga merged commit 75b9f6e into statamic:5.x Jul 24, 2025
25 checks passed
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