php-docker-boilerplate
php-docker-boilerplate copied to clipboard
SSL
i want to ask how is it possible to change the ssl certification files? i need them for the apache installation
regards and thx
You need to upload (ADD or COPY in Dockerfile) your own certificate into:
- /opt/docker/etc/httpd/ssl/server.crt
- /opt/docker/etc/httpd/ssl/server.csr
- /opt/docker/etc/httpd/ssl/server.key
see https://dockerfile.readthedocs.io/en/latest/content/DockerImages/dockerfiles/apache.html#apache-layout
Or use a reverse proxy with let's encrypt support :)
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