mirror of https://gitlab.crans.org/nounous/nixos
fix real ip for virtual hosts
parent
3851b8c340
commit
b12108cc51
|
|
@ -6,5 +6,9 @@
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
|
|
||||||
clientMaxBodySize = "512M";
|
clientMaxBodySize = "512M";
|
||||||
|
appendHttpConfig = ''
|
||||||
|
set_real_ip_from 172.16.0.0/16;
|
||||||
|
set_real_ip_from fd00::/56;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue