configuration reverseproxy avec install-party

merge-requests/18/head
korenstin 2025-06-14 17:56:22 +02:00
parent 6131d98f32
commit 3e0e9f8cda
2 changed files with 24 additions and 0 deletions

View File

@ -6,10 +6,33 @@
./networking.nix ./networking.nix
../../../modules ../../../modules
../../../modules/services/acme.nix
../../../modules/services/nginx.nix
]; ];
networking.hostName = "reverseproxy"; networking.hostName = "reverseproxy";
boot.loader.grub.devices = [ "/dev/sda" ]; boot.loader.grub.devices = [ "/dev/sda" ];
system.stateVersion = "25.05"; system.stateVersion = "25.05";
services.nginx.virtualHosts = {
"install-party.crans.org" = {
enableACME = true;
forceSSL = true;
serverAliases = [
"i-p.crans.org"
"adopteunmanchot.crans.org"
"adopteunpingouin.crans.org"
"i-p.crans.fr"
"install-party.crans.fr"
"adopteunmanchot.crans.fr"
"adopteunpingouin.crans.fr"
"i-p.crans.eu"
"install-party.crans.eu"
"adopteunmanchot.crans.eu"
"adopteunpingouin.crans.eu"
];
root = "/var/www/install-party.crans.org";
};
};
} }

View File

@ -50,6 +50,7 @@ let
acme = [ acme = [
hosts.jitsi hosts.jitsi
hosts.neo hosts.neo
hosts.reverseproxy
]; ];
# Fonctions utilitaires # Fonctions utilitaires