Use Traefik's SSL certificate within Nginx Unit Server
Greeting everyone,
I think this is a skill issue rather than Dokploy.
I'm trying to setup Nginx Unit server for my PHP application, which requires SSL, UNIT itself can generate self signed ssl certificate but I need a way to use Traefik SSL details.
I don't know how
My docker compose file and Nginx Unit config file is below:



4 Replies
Any help please 😠ðŸ˜
Have you asked to chagpt?
Yes, I need clarity as related to Dokploy, how do I get dokploy's Traefik SSL into the container?
In Nginx Unit We need to pass the SSL cert file path.
Like this
"*:8443": {
"pass": "routes",
"tls": {
"certificate": "${UNIT_CERTIFICATE_NAME}", //Certificate.
"conf_commands": {
"minprotocol": "TLSv1.2"
}
},
hmm there is a file called acme.json in /etc/dokploy/traefik/dynamic/acm.json where all the ssl certificates are stored