mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-20 09:39:39 +01:00
Compare commits
2 Commits
00e12ef683
...
c4c7666802
| Author | SHA1 | Date | |
|---|---|---|---|
| c4c7666802 | |||
| e8033618bd |
@ -17,16 +17,25 @@ with lib; {
|
||||
recommendedTlsSettings = true;
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [80 443];
|
||||
services.nginx.virtualHosts."localhost" = {
|
||||
services.nginx.virtualHosts = {
|
||||
"localhost" = {
|
||||
addSSL = false;
|
||||
enableACME = false;
|
||||
root = "/var/www/localhost";
|
||||
default = true;
|
||||
};
|
||||
services.nginx.virtualHosts."ellmauthaler.net" = {
|
||||
|
||||
"ellmauthaler.net" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/localhost";
|
||||
};
|
||||
|
||||
"www.ellmauthaler.net" = {
|
||||
enableACME = true;
|
||||
addSSL = true;
|
||||
globalRedirect = "stefan.ellmauthaler.net";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user