add max body size
This commit is contained in:
parent
3a572a9222
commit
52b440b5b3
2 changed files with 31 additions and 23 deletions
|
|
@ -8,7 +8,11 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.nginx.virtualHosts = {
|
services.nginx = {
|
||||||
|
appendHttpConfig = ''
|
||||||
|
client_max_body_size 500M;
|
||||||
|
'';
|
||||||
|
virtualHosts = {
|
||||||
"10.12.14.10" = {
|
"10.12.14.10" = {
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
|
|
@ -37,4 +41,5 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,9 @@
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
|
appendHttpConfig = ''
|
||||||
|
client_max_body_size 500M;
|
||||||
|
'';
|
||||||
virtualHosts =
|
virtualHosts =
|
||||||
let
|
let
|
||||||
tailnetConfig = {
|
tailnetConfig = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue