docker-symfony
docker-symfony copied to clipboard
SSL for nginx
Hello
Thank for you repo.
Can you explain me how to integrate an SSL certificate on nginx
sorry I've no idea. But I found some stuff on the Internets...
@ceeeeb you can find a solution in this repo https://github.com/MarvAmBass/docker-nginx-ssl-secure
Add the ssl related section to the nginx conf.
Just an example:
listen 443 default_server ssl;
ssl_certificate /etc/nginx/ssl/cert.pem;
ssl_certificate_key /etc/nginx/ssl/cert.key;
And add a default self-signed certificate for symfony.dev.
Mount the certificate files (.pem
and .key
) from the host to the nginx container with the volumes
key of docker-compose