Bug #80148
closedSetEnv HTTPS on breaks host header
0%
Description
Hi together,
how can it be that SetEnv HTTPS on in apache breaks the host header in Typo3?
Example configuration:
Nginx:
listen 443 ssl;
proxy_set_header Host www.example.net;
proxy_pass http://$backend:8080;
Now if I configure Apache without SetEnv HTTPS on, then I'm able to browse to https://www.example.net/typo3, I'm able to login and if I replace http with https - typo3 redirects to http - all works fine. The next step is to configure SetEnv HTTPS on in Apache, but Typo3 says after that: "The current host header value does not match the configured trusted hosts pattern!". If I de-configure SetEnv HTTPS on all works fine again with the exception that http is used.
How can it be that the variable HTTPS on breaks the host header?
Regards
Jonny
Updated by Chris topher over 7 years ago
- Project changed from 24 to TYPO3 Core
- TYPO3 Version set to 7
Updated by Benni Mack over 7 years ago
- Status changed from New to Needs Feedback
Can you explain your setup?
You have a NGINX as proxy and then apache to listen on port 8080 to simulate SSL?
Updated by Riccardo De Contardi over 7 years ago
90 days without feedback > closing it.
If you think that this is the wrong decision or have more information to reproduce it, please reopen it or open a new issue with a reference to this one. Thank you!
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Needs Feedback to Closed