Files
smartnginx/ts/smartnginx.paths.ts

10 lines
439 B
TypeScript
Raw Normal View History

2023-07-26 16:05:53 +02:00
import * as plugins from './smartnginx.plugins.js';
2016-07-06 06:33:31 +02:00
2016-07-25 01:54:36 +02:00
// directories
2023-07-26 16:05:53 +02:00
export const packageBase = plugins.path.join(plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), '../');
2019-01-09 12:15:28 +01:00
export const nginxConfigDirPath = plugins.path.join(packageBase, 'nginxconfig');
export const nginxHostDirPath = plugins.path.join(nginxConfigDirPath, 'hosts');
2016-07-25 01:54:36 +02:00
// files
2019-08-20 22:30:31 +02:00
export const nginxConfFile = plugins.path.join(nginxConfigDirPath, 'nginx.conf');