increased nginx proxy parameters
This commit is contained in:
parent
d12274102a
commit
694a4e7605
7 changed files with 23 additions and 10 deletions
|
|
@ -9,7 +9,9 @@
|
|||
networking.hostName = "artemisia";
|
||||
system.stateVersion = "25.05";
|
||||
|
||||
services.yggdrasil.persistentKeys = true;
|
||||
services.yggdrasil.settings.PrivateKey = secret.yggdrasil.PrivateKey;
|
||||
services.yggdrasil.persistentKeys = false;
|
||||
|
||||
marzban = {
|
||||
env = {
|
||||
UVICORN_HOST = "artemisia.project-a.space";
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@
|
|||
listen [::0]:443;
|
||||
proxy_pass $name;
|
||||
ssl_preread on;
|
||||
proxy_connect_timeout 1s;
|
||||
proxy_connect_timeout 30s;
|
||||
proxy_timeout 1h;
|
||||
proxy_buffer_size 16k;
|
||||
proxy_buffer_size 64k;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@
|
|||
enable = true;
|
||||
settings = {
|
||||
Peers = [
|
||||
"tls://kuber.project-a.space:666"
|
||||
"tls://arti.project-a.space:666"
|
||||
"tls://artemisia.project-a.space:666"
|
||||
"tls://reine.project-a.space:666"
|
||||
];
|
||||
Listen = [
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@
|
|||
listen [::0]:443;
|
||||
proxy_pass $name;
|
||||
ssl_preread on;
|
||||
proxy_connect_timeout 1s;
|
||||
proxy_connect_timeout 30s;
|
||||
proxy_timeout 1h;
|
||||
proxy_buffer_size 16k;
|
||||
proxy_buffer_size 64k;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
|
|
@ -11,5 +11,14 @@
|
|||
services.yggdrasil.settings.PrivateKey = secret.yggdrasil.PrivateKey;
|
||||
services.yggdrasil.persistentKeys = false;
|
||||
hardware.amdgpu.opencl.enable = true;
|
||||
hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd ];
|
||||
systemd.tmpfiles.rules = [
|
||||
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
|
||||
];
|
||||
hardware.graphics.enable = true;
|
||||
hardware.graphics.enable32Bit = true;
|
||||
hardware.amdgpu.overdrive.enable = true;
|
||||
hardware.amdgpu.overdrive.ppfeaturemask = "0xffffffff";
|
||||
environment.systemPackages = with pkgs; [ clinfo mesa.opencl ];
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@
|
|||
listen [::0]:443;
|
||||
proxy_pass $name;
|
||||
ssl_preread on;
|
||||
proxy_connect_timeout 1s;
|
||||
proxy_connect_timeout 30s;
|
||||
proxy_timeout 1h;
|
||||
proxy_buffer_size 16k;
|
||||
proxy_buffer_size 64k;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue