mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
nixos/nginx: fix mkDefaultListenVhost mapping for unix sockets
This commit is contained in:
parent
871a9b2890
commit
4c02c43a42
1 changed files with 2 additions and 2 deletions
|
@ -339,7 +339,7 @@ let
|
|||
map (
|
||||
listen:
|
||||
{
|
||||
port = cfg.defaultSSLListenPort;
|
||||
port = if (hasPrefix "unix:" listen.addr) then null else cfg.defaultSSLListenPort;
|
||||
ssl = true;
|
||||
}
|
||||
// listen
|
||||
|
@ -351,7 +351,7 @@ let
|
|||
map (
|
||||
listen:
|
||||
{
|
||||
port = cfg.defaultHTTPListenPort;
|
||||
port = if (hasPrefix "unix:" listen.addr) then null else cfg.defaultHTTPListenPort;
|
||||
ssl = false;
|
||||
}
|
||||
// listen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue