sdrweb: fix eval and format
This commit is contained in:
parent
97915b9c61
commit
e560b98a9b
|
@ -44,36 +44,35 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
nginx =
|
nginx = {
|
||||||
{
|
enable = true;
|
||||||
enable = true;
|
virtualHosts."sdr.hq.c3d2.de" = {
|
||||||
virtualHosts."sdr.hq.c3d2.de" = {
|
default = true;
|
||||||
default = true;
|
forceSSL = true;
|
||||||
forceSSL = true;
|
enableACME = true;
|
||||||
enableACME = true;
|
locations."/" = {
|
||||||
locations."/" = {
|
proxyPass = "http://localhost:8073";
|
||||||
proxyPass = "http://localhost:8073";
|
proxyWebsockets = true;
|
||||||
proxyWebsockets = true;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
virtualHosts."adsb.hq.c3d2.de" = {
|
};
|
||||||
forceSSL = true;
|
virtualHosts."adsb.hq.c3d2.de" = {
|
||||||
enableACME = true;
|
forceSSL = true;
|
||||||
root = pkgs.runCommand "adsb-map" { } ''
|
enableACME = true;
|
||||||
mkdir $out
|
root = pkgs.runCommand "adsb-map" { } ''
|
||||||
cp ${./adsb.html} $out/index.html
|
mkdir $out
|
||||||
cp ${./jquery-3.7.0.min.js} $out/jquery-3.7.0.min.js
|
cp ${./adsb.html} $out/index.html
|
||||||
cp ${./airplane.svg} $out/airplane.svg
|
cp ${./jquery-3.7.0.min.js} $out/jquery-3.7.0.min.js
|
||||||
'';
|
cp ${./airplane.svg} $out/airplane.svg
|
||||||
extraConfig = ''
|
'';
|
||||||
index index.html;
|
extraConfig = ''
|
||||||
charset utf-8;
|
index index.html;
|
||||||
'';
|
charset utf-8;
|
||||||
locations."/data.json".proxyPass = "http://${hostRegistry.radiobert.ip4}:8080/data.json";
|
'';
|
||||||
};
|
locations."/data.json".proxyPass = "http://${hostRegistry.radiobert.ip4}:8080/data.json";
|
||||||
}
|
};
|
||||||
|
};
|
||||||
|
|
||||||
openwebrx.enable = true;
|
openwebrx.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.heliwatch = {
|
services.heliwatch = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user