ingress-proxy: fixup
This commit is contained in:
parent
48d3ab4a5e
commit
595c795024
1 changed files with 6 additions and 1 deletions
|
@ -18,7 +18,11 @@ in {
|
|||
networking.firewall.allowedUDPPorts = [ 80 443 ];
|
||||
|
||||
services.nginx = {
|
||||
recommendedBrotliSettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedZstdSettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
clientMaxBodySize = "150m";
|
||||
|
||||
upstreams = {
|
||||
ps2l_saerro.servers."${tsHost "ps2live" 8101}" = {};
|
||||
|
@ -33,6 +37,7 @@ in {
|
|||
inactive = "720m";
|
||||
};
|
||||
|
||||
|
||||
virtualHosts = let
|
||||
defaultConfig = {
|
||||
listen = [
|
||||
|
@ -43,6 +48,7 @@ in {
|
|||
http3 = true;
|
||||
forceSSL = lib.mkDefault true;
|
||||
enableACME = true;
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
static = { src ? null, url ? null, rev ? null, aliases ? [] }: {
|
||||
serverAliases = aliases;
|
||||
|
@ -88,7 +94,6 @@ in {
|
|||
|
||||
"doll.repair" = static { src = flakePackage "doll-repair"; };
|
||||
"porcelain.doll.repair" = {
|
||||
clientMaxBodySize = "150m";
|
||||
|
||||
locations."/" = {
|
||||
recommendedProxySettings = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue