mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 07:08:45 +08:00
fix nginx listen
This commit is contained in:
parent
c3331ae425
commit
f53b8c3a20
@ -88,9 +88,9 @@ inputs:
|
||||
smartd.enable = mkOption { type = types.bool; default = false; };
|
||||
nginx =
|
||||
{
|
||||
enable = mkOption { type = types.bool; default = false; };
|
||||
transparentProxy =
|
||||
{
|
||||
enable = mkOption { type = types.bool; default = false; };
|
||||
externalIp = mkOption { type = types.nonEmptyStr; };
|
||||
map = mkOption { type = types.attrsOf types.ints.unsigned; };
|
||||
};
|
||||
@ -971,7 +971,7 @@ inputs:
|
||||
};
|
||||
nixos.services.nginx.httpProxy.send =
|
||||
{
|
||||
upstream = "127.0.0.1:1443";
|
||||
upstream = "http://127.0.0.1:1443";
|
||||
rewriteHttps = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user