From 7f019b76c08341bcf609f4743d2e6a5507f9b3ea Mon Sep 17 00:00:00 2001 From: Emanuele Panzeri Date: Mon, 16 Nov 2020 15:17:00 +0100 Subject: [PATCH] Mention HTTPs redirect fix in documentation --- docs/troubleshooting.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 708a66a..e64c1aa 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -9,3 +9,7 @@ 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 +When Symfony is generating an internal redirect, and you're browsing via `https://...` you're redirected to `http://`. +To fix this issue uncomment the `TRUSTED_PROXIES` setting in your .env file (see https://github.com/dunglas/symfony-docker/issues/68)