diff --git a/ts/smartnginx.snippets.ts b/ts/smartnginx.snippets.ts index ab9eb16..c3bff8d 100644 --- a/ts/smartnginx.snippets.ts +++ b/ts/smartnginx.snippets.ts @@ -86,8 +86,8 @@ export let getHostConfigString = (hostNameArg: string, destinationIpArg: string) server { listen *:443 ssl; server_name ${hostNameArg}; - ssl_certificate ${paths.nginxCertBase}/${hostNameArg}/fullchain.pem; - ssl_certificate_key ${paths.nginxCertBase}/${hostNameArg}/privkey.pem; + ssl_certificate ${paths.nginxHostDirPath}/${hostNameArg}.public.pem; + ssl_certificate_key ${paths.nginxHostDirPath}/${hostNameArg}.private.pem; location / { proxy_pass http://${hostNameArg};