mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-07-01 02:48:46 +02:00
20 lines
361 B
Nix
20 lines
361 B
Nix
{ config, ... }: {
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts = {
|
|
"${config.deployment-dvb.domain}" = {
|
|
enableACME = true;
|
|
forceSSL = true;
|
|
locations = {
|
|
"/" = {
|
|
extraConfig = ''
|
|
return 307 https://map.dvb.solutions;
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|