smartnginx/ts/smartnginx.paths.ts

12 lines
438 B
TypeScript

import * as plugins from './smartnginx.plugins';
// directories
export let packageBase = plugins.path.join(__dirname, '../');
export let nginxConfigBase = plugins.path.join(packageBase, 'nginxconfig');
export let nginxHostFileBase = plugins.path.join(nginxConfigBase, 'hosts');
export let nginxCertBase = plugins.path.join(nginxConfigBase, 'cert');
// files
export let nginxConfFile = plugins.path.join(nginxConfigBase, 'nginx.conf');