Enterprise: Difference between revisions

imported>Makefu
m clarify what intercepting proxy means
imported>Bobvanderlinden
No edit summary
Line 30: Line 30:
         curlOpts = "${pkgs.lib.optionalString (opts ? curlOpts) "${opts.curlOpts}"} --netrc-file /etc/nix/netrc";
         curlOpts = "${pkgs.lib.optionalString (opts ? curlOpts) "${opts.curlOpts}"} --netrc-file /etc/nix/netrc";
       });
       });
      fetchurl = fetchurlPrivate;
   };
   };
  }
  }
Line 37: Line 36:
</syntaxHighlight>
</syntaxHighlight>


Now all '''fetchurl''' calls will use the specified netrc file with the credentials of your choice.
Now '''fetchurlPrivate''' can be used just like '''fetchurl''', but will use the netrc file that includes the credentials of your choice for specific domainnames.


== TLS Intercepting Proxy ==
== TLS Intercepting Proxy ==