@@ -213,16 +213,15 @@ export class ProxyBuilder {
213213 this . logger . section ( "Rendering shared configurations" ) ;
214214
215215 // Main nginx.conf — the root nginx configuration.
216+ // Keys must match %placeholder% names in the nginx.conf template.
216217 renderTemplate (
217218 "nginx.conf" ,
218219 {
219- target : this . target ,
220- ssl_key : path . join ( this . target , FOLDERS . ssl , "self-ssl.key" ) ,
221- ssl_cert : path . join ( this . target , FOLDERS . ssl , "self-ssl.crt" ) ,
222- dhparam : path . join ( this . target , "dhparam.pem" ) ,
223- sites_enabled : path . join ( this . target , FOLDERS . sitesEnabled ) ,
224- modules_enabled : path . join ( this . target , FOLDERS . modulesEnabled ) ,
225- conf_d : path . join ( this . target , FOLDERS . confD ) ,
220+ modulesEnabled : path . join ( this . target , FOLDERS . modulesEnabled ) ,
221+ logFolder : path . join ( this . target , FOLDERS . logs ) ,
222+ dhparamFile : path . join ( this . target , "dhparam.pem" ) ,
223+ confDFolder : path . join ( this . target , FOLDERS . confD ) ,
224+ sitesEnabled : path . join ( this . target , FOLDERS . sitesEnabled ) ,
226225 } ,
227226 path . join ( this . target , FOLDERS . nginx , "nginx.conf" ) ,
228227 this . logger ,
0 commit comments