webdevops / php-docker-boilerplate

:stew: PHP Docker Boilerplate for Symfony, Wordpress, Joomla or any other PHP Project (NGINX, Apache HTTPd, PHP-FPM, MySQL, Solr, Elasticsearch, Redis, FTP)
https://webdevops.io/projects/php-docker-boilerplate/
MIT License
562 stars 186 forks source link

SSL #63

Open dgram opened 7 years ago

dgram commented 7 years ago

i want to ask how is it possible to change the ssl certification files? i need them for the apache installation

regards and thx

mblaschke commented 7 years ago

You need to upload (ADD or COPY in Dockerfile) your own certificate into:

see https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/apache.html#apache-layout

Or use a reverse proxy with let's encrypt support :)

DrMxrcy commented 1 year ago

Or use a reverse proxy with let's encrypt support :)

When I try to use a reverse proxy, I get errors in the console saying content needs to be served over HTTPS. Any ideas? My Trafeik proxy has a valid LE SSL