SSL support with custom cert.
To enable SSL with your custom certificate, follow the steps below:
- Copy your certificate and key to certs/nginx.crt and certs/nginx.key
- Copy your dhparam file to certs/dhparam.pem
- Edit conf/nginx.conf to update
__server_names__to your domain or IP address - Perform any other configuration edits that you might need
- Run
docker build -t sublime_nginx_custom_ssl . - Run
cd ..(back to sublime-platform directory) - Run
docker compose --profile nginx-custom-ssl up