mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2025-02-22 00:32: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";
|
type = "A";
|
||||||
value = "100.64.0.1";
|
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";
|
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" = {
|
"printers.nickiel.net" = {
|
||||||
# forceSSL = true;
|
# forceSSL = true;
|
||||||
# enableACME = true;
|
# enableACME = true;
|
||||||
root = "/Aurora/StaticSites/printer_pages";
|
locations."/".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