mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2025-02-22 00:32:16 -08:00
added new subnet for 3d prints
This commit is contained in:
parent
6c401634f8
commit
0a42425fcb
2 changed files with 16 additions and 2 deletions
|
@ -30,8 +30,8 @@
|
|||
value = "100.64.0.1";
|
||||
}
|
||||
{
|
||||
name = "octoprint.nickiel.net";
|
||||
name = "printers.nickiel.net";
|
||||
type = "A";
|
||||
value = "100.64.0.8";
|
||||
value = "100.64.0.1";
|
||||
}
|
||||
]
|
||||
|
|
|
@ -74,6 +74,20 @@
|
|||
root = "/Aurora/StaticSites/static_pages/public";
|
||||
};
|
||||
|
||||
"printers.nickiel.net" = {
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
root = "/Aurora/StaticSites/printer_pages";
|
||||
locations = {
|
||||
"/".extraConfig = ''
|
||||
allow 100.64.0.0/24;
|
||||
deny all;
|
||||
'';
|
||||
"/KingGeorge".proxyPass = "http://10.0.0.59";
|
||||
"/Bluey".proxyPass = "http://100.64.0.8";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue