diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 708a66a..06446fe 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -9,3 +9,8 @@ If you work on linux and cannot edit some of the project files right after the f If you have a SSL trust issues, download the self-signed certificate and run : $ sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /path/to/you/certificate.cer + +## HTTPs and Redirects + +If Symfony is generating an internal redirect for an `https://` url, but the resulting url is `http://`, you have to uncomment the `TRUSTED_PROXIES` setting in your `.env` file. +For more details see the [Symfony internal redirect docuentation](https://symfony.com/doc/current/routing.html#redirecting-to-urls-and-routes-directly-from-a-route).