Muthu Kumar
7 years ago
2 changed files with 12 additions and 7 deletions
@ -1,12 +1,17 @@ |
|||||
function availableSites() { |
function availableSites() { |
||||
var availableSites = "/etc/nginx/available-sites/" |
var availableSites = "/etc/nginx/available-sites/"; |
||||
return availableSites |
return availableSites; |
||||
} |
} |
||||
|
|
||||
function enabledSites() { |
function enabledSites() { |
||||
var enabledSites = "/etc/nginx/enabled-sites/" |
var enabledSites = "/etc/nginx/enabled-sites/"; |
||||
return enabledSites |
return enabledSites; |
||||
} |
} |
||||
|
|
||||
module.exports.availableSites = availableSites |
function homeDir() { |
||||
module.exports.enabledSites = enabledSites |
return "/var/www/"; |
||||
|
} |
||||
|
|
||||
|
module.exports.availableSites = availableSites; |
||||
|
module.exports.enabledSites = enabledSites; |
||||
|
module.exports.homeDir = homeDir; |
Loading…
Reference in new issue