nginx: set default virtualhosts

This commit is contained in:
Felix Albrigtsen 2024-09-12 20:18:05 +02:00
parent 47c9ad9150
commit 6cc3332d38
3 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,8 @@
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
virtualHosts."cloud.feal.no".default = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];

View File

@ -12,6 +12,8 @@ in {
recommendedGzipSettings = true;
recommendedOptimisation = true;
virtualHosts."git.feal.no".default = true;
defaultListen = [
{
addr = "192.168.10.175";

View File

@ -9,6 +9,8 @@
recommendedTlsSettings = true;
recommendedGzipSettings = true;
recommendedOptimisation = true;
virtualHosts."kinealbrigtsen.no".default = true;
};
networking.firewall.allowedTCPPorts = [ 80 443 ];