Compare commits
4 commits
c860fef7aa
...
00bf70b29a
Author | SHA1 | Date | |
---|---|---|---|
|
00bf70b29a | ||
|
f0e005ed7b | ||
|
1e84717fd6 | ||
|
44f98a69d1 |
|
@ -102,7 +102,7 @@
|
||||||
${pkgs.dig}/bin/nslookup rupert.gvfr.de
|
${pkgs.dig}/bin/nslookup rupert.gvfr.de
|
||||||
${pkgs.unixtools.ping}/bin/ping -c1 rupert.gvfr.de >/dev/null
|
${pkgs.unixtools.ping}/bin/ping -c1 rupert.gvfr.de >/dev/null
|
||||||
echo "Opening SSH tunnel."
|
echo "Opening SSH tunnel."
|
||||||
${pkgs.openssh}/bin/ssh -i /secrets/id_burp_remote -o IdentitiesOnly=yes -o ExitOnForwardFailure=yes -L 4971:localhost:4971 burp-remote@rupert.gvfr.de -f true
|
${pkgs.openssh}/bin/ssh -6 -i /secrets/id_burp_remote -o IdentitiesOnly=yes -o ExitOnForwardFailure=yes -L 4971:localhost:4971 burp-remote@rupert.gvfr.de -f true
|
||||||
echo "Beginning backup operation."
|
echo "Beginning backup operation."
|
||||||
$out/sbin/burp-untunneled \$@
|
$out/sbin/burp-untunneled \$@
|
||||||
EOF
|
EOF
|
||||||
|
@ -142,6 +142,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.postgresql.package = pkgs.postgresql_13;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It’s perfectly fine and recommended to leave
|
# on your system were taken. It’s perfectly fine and recommended to leave
|
||||||
|
|
|
@ -123,6 +123,10 @@ in
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = "http://localhost:3001/";
|
locations."/".proxyPass = "http://localhost:3001/";
|
||||||
|
extraConfig = ''
|
||||||
|
# Maximum upload file size for git-lfs
|
||||||
|
client_max_body_size 100M;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
streamConfig = ''
|
streamConfig = ''
|
||||||
map $ssl_preread_server_name $target_backend {
|
map $ssl_preread_server_name $target_backend {
|
||||||
md.gvfr.de rupert;
|
md.gvfr.de rupert;
|
||||||
|
rupert.gvfr.de rupert;
|
||||||
default localserv;
|
default localserv;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue