-
-
Save jeaye/c2aa524bcab9c7183af9314f9a2b2e6c 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
makeVirtualHost = domain: | |
{ | |
hostName = domain; | |
serverAliases = [("www." + domain)]; | |
enableSSL = false; | |
documentRoot = "/etc/user/http/" + domain; | |
}; | |
services.httpd.virtualHosts = (map makeVirtualHost domains); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment