dns-server setup

This commit is contained in:
2026-06-15 22:36:49 +03:00
parent 3c3e3c75fb
commit 5b1e759902
2 changed files with 27 additions and 0 deletions
+10
View File
@@ -9,8 +9,18 @@
config = '' config = ''
zeroq.su:53 { zeroq.su:53 {
hosts { hosts {
192.168.1.20 agent.zeroq.su
192.168.1.20 bentopdf.zeroq.su
192.168.1.20 calibre.zeroq.su
192.168.1.20 dns.zeroq.su 192.168.1.20 dns.zeroq.su
192.168.1.20 flux.zeroq.su
192.168.1.20 gitea.zeroq.su
192.168.1.20 health.zeroq.su
192.168.1.20 immich.zeroq.su 192.168.1.20 immich.zeroq.su
192.168.1.20 kuma.zeroq.su
192.168.1.20 n8n.zeroq.su
192.168.1.20 nextcloud.zeroq.su
192.168.1.20 office.zeroq.su
fallthrough fallthrough
} }
cache 300 cache 300
+17
View File
@@ -84,6 +84,23 @@ in
client_max_body_size 5G; client_max_body_size 5G;
''; '';
}; };
"nextcloud.zeroq.su" = {
forceSSL = false;
enableACME = false;
locations = {
"/" = {
proxyPass = "http://${server}:10000";
proxyWebsockets = true;
};
"/whiteboard" = {
proxyPass = "http://${server}:3002";
proxyWebsockets = true;
};
};
extraConfig = ''
client_max_body_size 5G;
'';
};
"n8n.local" = { "n8n.local" = {
forceSSL = false; forceSSL = false;
enableACME = false; enableACME = false;