add domains
This commit is contained in:
parent
e70db76659
commit
d575fbe2d5
@ -9,4 +9,13 @@ lancer la commande :
|
|||||||
node index.mjs
|
node index.mjs
|
||||||
```
|
```
|
||||||
|
|
||||||
et tada, les fichiers de conf pour nginx installé sur proxmox sont produits
|
et tada, les fichiers de conf pour nginx installé sur proxmox sont produits
|
||||||
|
|
||||||
|
|
||||||
|
# modifier les fichiers sur le serveur proxmox
|
||||||
|
|
||||||
|
editor /etc/nginx/conf.d/proxmox.conf
|
||||||
|
editor /etc/nginx/conf.d/default.conf
|
||||||
|
|
||||||
|
pct enter 103
|
||||||
|
|
||||||
|
@ -17,23 +17,90 @@ const domainsConfig = [{
|
|||||||
domain: 'www.cipherbliss.com',
|
domain: 'www.cipherbliss.com',
|
||||||
framework: 'wordpress',
|
framework: 'wordpress',
|
||||||
disableSSL: false,
|
disableSSL: false,
|
||||||
|
},{
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Portfolio cipherbliss',
|
||||||
|
domain: 'portfolio.cipherbliss.com',
|
||||||
|
framework: 'symfony',
|
||||||
|
disableSSL: false,
|
||||||
}, {
|
}, {
|
||||||
LXCcontainerLocalIP,
|
LXCcontainerLocalIP,
|
||||||
LXCcontainerProtocol,
|
LXCcontainerProtocol,
|
||||||
name: 'Funky Framadate Démo',
|
name: 'Blog tykayn - le vortex à chats',
|
||||||
domain: 'framadate-api.cipherbliss.com',
|
domain: 'tykayn.fr',
|
||||||
framework: 'symfony',
|
framework: 'wordpress',
|
||||||
disableSSL: false,
|
disableSSL: false,
|
||||||
},
|
}, {
|
||||||
{
|
|
||||||
LXCcontainerLocalIP,
|
LXCcontainerLocalIP,
|
||||||
LXCcontainerProtocol,
|
LXCcontainerProtocol,
|
||||||
name: 'Caisse Bliss',
|
name: 'Site de la compagnie la puce à l\'oreille',
|
||||||
domain: 'caisse.cipherbliss.com',
|
domain: 'www.pucealoreille.fr',
|
||||||
framework: 'symfony',
|
framework: 'wordpress',
|
||||||
|
disableSSL: false,
|
||||||
|
}, {
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Site de Didier, un bec et des ailes',
|
||||||
|
domain: 'www.unbecetdesailes.fr',
|
||||||
|
framework: 'wordpress',
|
||||||
|
disableSSL: false,
|
||||||
|
}, {
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Site de Catherine Fonder, conteuse',
|
||||||
|
domain: 'www.catherinefonder.fr',
|
||||||
|
framework: 'wordpress',
|
||||||
|
disableSSL: false,
|
||||||
|
}, {
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Site de la Fromagerie BSF',
|
||||||
|
domain: 'www.lafromagerie-bsf.com',
|
||||||
|
framework: 'wordpress',
|
||||||
disableSSL: false,
|
disableSSL: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Claire Lemoine portfolio',
|
||||||
|
domain: 'www.clairelemoine.art',
|
||||||
|
framework: 'wordpress',
|
||||||
|
disableSSL: false,
|
||||||
|
}, {
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Funky Framadate Démo',
|
||||||
|
domain: 'framadate-api.cipherbliss.com',
|
||||||
|
framework: 'symfony',
|
||||||
|
disableSSL: false,
|
||||||
|
}, {
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Portfolio cipherbliss',
|
||||||
|
domain: 'portfolio.cipherbliss.com',
|
||||||
|
framework: 'symfony',
|
||||||
|
disableSSL: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
LXCcontainerLocalIP,
|
||||||
|
LXCcontainerProtocol,
|
||||||
|
name: 'Caisse Bliss',
|
||||||
|
domain: 'caisse.cipherbliss.com',
|
||||||
|
framework: 'symfony',
|
||||||
|
disableSSL: false,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
// autres frameworks:
|
||||||
|
// nextcloud: cloud.tykayn.fr
|
||||||
|
// vaultwarden: pass.cipherbliss.com
|
||||||
|
// mastodon: mastodon.cipherbliss.com
|
||||||
|
// peertube: peertube.cipherbliss.com
|
||||||
|
//
|
||||||
|
// sites statiques
|
||||||
|
// meltingpot.cipherbliss.com
|
||||||
|
// joinfediverse
|
||||||
|
// coussinet
|
||||||
|
|
||||||
for (let configDomain of domainsConfig) {
|
for (let configDomain of domainsConfig) {
|
||||||
console.log('domaine :', configDomain.name)
|
console.log('domaine :', configDomain.name)
|
||||||
@ -48,7 +115,6 @@ for (let configDomain of domainsConfig) {
|
|||||||
writeFile(configDomain.domain + '.container.conf', hostFile.containerNginxConf)
|
writeFile(configDomain.domain + '.container.conf', hostFile.containerNginxConf)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function writeFile (fileName, fileContent) {
|
function writeFile (fileName, fileContent) {
|
||||||
console.log('write file', fileName)
|
console.log('write file', fileName)
|
||||||
return fs.writeFile(
|
return fs.writeFile(
|
||||||
|
Loading…
Reference in New Issue
Block a user