feat: add pyload
This commit is contained in:
parent
d6f206f0bb
commit
1a70ca9564
6 changed files with 112 additions and 1 deletions
|
|
@ -33,4 +33,21 @@
|
|||
proxyPass = "http://${config.networkPrefix}.97.10";
|
||||
};
|
||||
};
|
||||
services.nginx.virtualHosts."dl.cloonar.com" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
acmeRoot = null;
|
||||
|
||||
# Restrict to internal LAN only
|
||||
extraConfig = ''
|
||||
allow ${config.networkPrefix}.96.0/24;
|
||||
allow ${config.networkPrefix}.98.0/24;
|
||||
deny all;
|
||||
'';
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://${config.networkPrefix}.97.11:8000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue