Fix ldap listen, proxy protocol ports
This commit is contained in:
parent
6fbd88ad2b
commit
79d0246abc
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, libC, ... }:
|
||||
|
||||
{
|
||||
c3d2.deployment.server = "server10";
|
||||
|
@ -18,12 +18,12 @@
|
|||
nginx = {
|
||||
enable = true;
|
||||
virtualHosts."auth.c3d2.de" = {
|
||||
default = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
listen = libC.defaultListen;
|
||||
locations = {
|
||||
"/".proxyPass = "http://localhost:${toString config.services.portunus.port}";
|
||||
"/dex".proxyPass = "http://localhost:${toString config.services.portunus.dex.port}";
|
||||
"/".proxyPass = "http://127.0.0.1:${toString config.services.portunus.port}";
|
||||
"/dex".proxyPass = "http://127.0.0.1:${toString config.services.portunus.dex.port}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -14,12 +14,12 @@ _:
|
|||
}
|
||||
{
|
||||
addr = "[::]";
|
||||
port = 81;
|
||||
port = 8080;
|
||||
extraParameters = [ "proxy_protocol" ];
|
||||
}
|
||||
{
|
||||
addr = "[::]";
|
||||
port = 444;
|
||||
port = 8443;
|
||||
ssl = true;
|
||||
extraParameters = [ "proxy_protocol" ];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue