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
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 = {
virtualHosts."parodi.pro" = {
forceSSL = true;
enableACME = true;
locations."/" = {
return = "404";
};
};
virtualHosts."raphael.parodi.pro" = {
forceSSL = true;
enableACME = true;
@ -41,6 +36,7 @@ in
};
security.acme = {
certs = {
"parodi.pro" = {};
"raphael.parodi.pro" = {};
};
};