[Nix-dev] Nginx multiple listen ip
Samuel Leathers
disasm at gmail.com
Mon Jul 10 17:52:25 CEST 2017
Looking at the virtual host config in the nixos module, I don't think that
case is supported currently. You could always just set the config variable
to completely override the entire file.
Thanks,
Sam
On Mon, Jul 10, 2017 at 10:17 AM Alexandre Peyroux via nix-dev <
nix-dev at lists.science.uu.nl> wrote:
> Hello,
>
> I have a server that listens on multiple IPs. I would like to be able to
> tell Nginx to listen that the 10.0.2.3 for such vhost and 10.3.2.10 for
> another vhost. By default, it does a listen 0.0.0.0. I can not find the
> right options.
>
> I have seen this code - "listenString":
> https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/web-servers/nginx/default.nix#L129
> but I do not see how it works. How to overload this value properly?
>
> Regards
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170710/0324ee7d/attachment-0001.html>
More information about the nix-dev
mailing list