docker-library / php

Docker Official Image packaging for PHP
https://php.net
MIT License
3.84k stars 2.01k forks source link

. #1478

Closed kasteckis closed 10 months ago

kasteckis commented 11 months ago

.

LaurentGoderre commented 10 months ago

Normally you don't need to worry about SSL when. it's handled by a proxy. What kind of issue are you getting?

tianon commented 10 months ago

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto and/or https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded are designed for that problem :eyes:

That being said, our installation is a pretty standard apache2 installed from Debian, so you should be able to munge the configuration in the same way. I haven't tested it in a while, but https://github.com/docker-library/php/issues/506#issuecomment-335929742 is an example of where I've done this successfully in the past.