Update work-proxy
This commit is contained in:
parent
8c018bcad7
commit
2999862827
1 changed files with 11 additions and 0 deletions
|
|
@ -15,6 +15,17 @@ in
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
|
||||||
|
services.tinyproxy = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
LogLevel = "Info";
|
||||||
|
Port = 2345;
|
||||||
|
Upstream = [
|
||||||
|
''upstream http wsl:2345 ".microsoftonline.com"''
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
security.pki.certificateFiles = [
|
security.pki.certificateFiles = [
|
||||||
"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
"${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
|
||||||
./certs/Foyer-Group-Root-CA.crt
|
./certs/Foyer-Group-Root-CA.crt
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue