mirror of https://gitlab.crans.org/nounous/nixos
configuration reverseproxy avec install-party
parent
6131d98f32
commit
3e0e9f8cda
|
@ -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";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,7 @@ let
|
||||||
acme = [
|
acme = [
|
||||||
hosts.jitsi
|
hosts.jitsi
|
||||||
hosts.neo
|
hosts.neo
|
||||||
|
hosts.reverseproxy
|
||||||
];
|
];
|
||||||
|
|
||||||
# Fonctions utilitaires
|
# Fonctions utilitaires
|
||||||
|
|
Loading…
Reference in New Issue