client max body size setting
This commit is contained in:
parent
52b440b5b3
commit
adf514c054
2 changed files with 2 additions and 6 deletions
|
|
@ -9,9 +9,7 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
appendHttpConfig = ''
|
clientMaxBodySize = "500m";
|
||||||
client_max_body_size 500M;
|
|
||||||
'';
|
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"10.12.14.10" = {
|
"10.12.14.10" = {
|
||||||
locations = {
|
locations = {
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,7 @@
|
||||||
recommendedOptimisation = true;
|
recommendedOptimisation = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
appendHttpConfig = ''
|
clientMaxBodySize = "500m";
|
||||||
client_max_body_size 500M;
|
|
||||||
'';
|
|
||||||
virtualHosts =
|
virtualHosts =
|
||||||
let
|
let
|
||||||
tailnetConfig = {
|
tailnetConfig = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue