add max body size
This commit is contained in:
parent
3a572a9222
commit
52b440b5b3
2 changed files with 31 additions and 23 deletions
|
|
@ -8,32 +8,37 @@ let
|
|||
};
|
||||
in
|
||||
{
|
||||
services.nginx.virtualHosts = {
|
||||
"10.12.14.10" = {
|
||||
locations = {
|
||||
"/" = {
|
||||
return = "301 http://h001.local.joshuabell.xyz";
|
||||
services.nginx = {
|
||||
appendHttpConfig = ''
|
||||
client_max_body_size 500M;
|
||||
'';
|
||||
virtualHosts = {
|
||||
"10.12.14.10" = {
|
||||
locations = {
|
||||
"/" = {
|
||||
return = "301 http://h001.local.joshuabell.xyz";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
"h001.local.joshuabell.xyz" = {
|
||||
locations = {
|
||||
"/" = homarr;
|
||||
};
|
||||
};
|
||||
"100.64.0.13" = {
|
||||
locations."/" = {
|
||||
return = "301 http://h001.net.joshuabell.xyz";
|
||||
};
|
||||
};
|
||||
"h001.net.joshuabell.xyz" = {
|
||||
locations = {
|
||||
"/grafana/" = {
|
||||
proxyPass = "http://localhost:3001";
|
||||
proxyWebsockets = true;
|
||||
recommendedProxySettings = true;
|
||||
"h001.local.joshuabell.xyz" = {
|
||||
locations = {
|
||||
"/" = homarr;
|
||||
};
|
||||
};
|
||||
"100.64.0.13" = {
|
||||
locations."/" = {
|
||||
return = "301 http://h001.net.joshuabell.xyz";
|
||||
};
|
||||
};
|
||||
"h001.net.joshuabell.xyz" = {
|
||||
locations = {
|
||||
"/grafana/" = {
|
||||
proxyPass = "http://localhost:3001";
|
||||
proxyWebsockets = true;
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
"/" = homarr;
|
||||
};
|
||||
"/" = homarr;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -30,6 +30,9 @@
|
|||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
appendHttpConfig = ''
|
||||
client_max_body_size 500M;
|
||||
'';
|
||||
virtualHosts =
|
||||
let
|
||||
tailnetConfig = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue