mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2025-02-21 08:12:16 -08:00
added 3d printer configs
This commit is contained in:
parent
0a42425fcb
commit
1c969cce07
2 changed files with 25 additions and 9 deletions
|
@ -34,4 +34,14 @@
|
|||
type = "A";
|
||||
value = "100.64.0.1";
|
||||
}
|
||||
{
|
||||
name = "bluey.printers.nickiel.net";
|
||||
type = "A";
|
||||
value = "100.64.0.1";
|
||||
}
|
||||
{
|
||||
name = "kinggeorge.printers.nickiel.net";
|
||||
type = "A";
|
||||
value = "100.64.0.1";
|
||||
}
|
||||
]
|
||||
|
|
|
@ -74,18 +74,24 @@
|
|||
root = "/Aurora/StaticSites/static_pages/public";
|
||||
};
|
||||
|
||||
"bluey.printers.nickiel.net" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://100.64.0.8/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
"kinggeorge.printers.nickiel.net" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://10.0.0.59/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
"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";
|
||||
};
|
||||
locations."/".root = "/Aurora/StaticSites/printer_pages";
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue