Advertisement
Guest User

help

a guest
Aug 31st, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. services.nginx = {
  2. enable = true;
  3. virtualHosts = {
  4. "domain1.com" = {
  5. default = true;
  6. root = "/var/www/domain1";
  7. };
  8. "domain2.com" = {
  9. serverAliases = [ "www.domain2.com" ];
  10. root = "/var/www/domain2";
  11. };
  12.  
  13. };
  14. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement