Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- services.nginx = {
- enable = true;
- virtualHosts = {
- "domain1.com" = {
- default = true;
- root = "/var/www/domain1";
- };
- "domain2.com" = {
- serverAliases = [ "www.domain2.com" ];
- root = "/var/www/domain2";
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement