feat: adding the portefolio running on nginx

This commit is contained in:
Raphael 2025-12-22 17:42:29 +01:00
parent 9f028e8863
commit 2961ae7382
No known key found for this signature in database

View file

@ -14,19 +14,14 @@ in
nodejs nodejs
pnpm pnpm
]; ];
users = {
groups.web_portefolio = {
name = "web_portefolio";
};
users.web_portefolio = {
description = "Utilisateur pour le bot BDE";
group = "web_portefolio";
home = "/opt/portefolio/";
isSystemUser = true;
};
};
services.nginx = { services.nginx = {
virtualHosts."parodi.pro" = {
forceSSL = true;
enableACME = true;
locations."/" = {
return = "404";
};
};
virtualHosts."raphael.parodi.pro" = { virtualHosts."raphael.parodi.pro" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
@ -41,7 +36,8 @@ in
}; };
security.acme = { security.acme = {
certs = { certs = {
"raphael.parodi.pro" = { }; "parodi.pro" = {};
"raphael.parodi.pro" = {};
}; };
}; };
}; };