-
-
Save pta2002/0cca332d919a7fc55239e1daac1c97be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, ... }: | |
{ | |
networking.firewall.allowedTCPPorts = [ 443 80 ]; | |
security.acme.acceptTerms = true; | |
security.acme.email = "pta2002@pta2002.com"; | |
services.nginx = { | |
enable = true; | |
recommendedGzipSettings = true; | |
recommendedOptimisation = true; | |
recommendedProxySettings = true; | |
recommendedTlsSettings = true; | |
virtualHosts."pta2002.com" = { | |
serverAliases = [ "www.pta2002.com" ]; | |
enableACME = true; | |
forceSSL = true; | |
serverName = "pta2002.com"; | |
root = (import ../blog/default.nix {}); | |
}; | |
}; | |
imports = [ | |
../tinysites/sites.nix | |
]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
{ | |
services.nginx.virtualHosts = { | |
"bucketlist.pta2002.com" = { | |
root = (import ./bucketlist {}); | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment