- enable
  - qbit
  - prowlarr
- use proxyWebsockets
- use reccomended proxy settings
- fix docker compose file name
This commit is contained in:
sadan 2025-03-12 22:12:41 -04:00
parent 1414a69553
commit b07403e610
No known key found for this signature in database
5 changed files with 11 additions and 10 deletions

View file

@ -24,11 +24,7 @@
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://localhost:8096"; proxyPass = "http://localhost:8096";
extraConfig = '' proxyWebsockets = true;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
'';
}; };
}; };
}; };

View file

@ -4,10 +4,10 @@
nginx = { nginx = {
enable = true; enable = true;
logError = "syslog:server=unix:/dev/log warn"; logError = "syslog:server=unix:/dev/log warn";
# recommendedTlsSettings = true; recommendedTlsSettings = true;
# recommendedGzipSettings = true; recommendedGzipSettings = true;
# recommendedProxySettings = true; recommendedProxySettings = true;
# recommendedOptimisation = true; recommendedOptimisation = true;
resolver = { resolver = {
addresses = [ addresses = [
"1.0.0.1" "1.0.0.1"

View file

@ -10,6 +10,7 @@
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://localhost:9696"; proxyPass = "http://localhost:9696";
proxyWebsockets = true;
}; };
}; };
}; };

View file

@ -6,7 +6,7 @@
home = { home = {
file = { file = {
qbit_compose = { qbit_compose = {
source = ./docker-compose.yal; source = ./docker-compose.yml;
target = "./src/qbit/docker-compose.yml"; target = "./src/qbit/docker-compose.yml";
}; };
}; };

View file

@ -21,6 +21,8 @@ in
../docker/vw/nginx.nix ../docker/vw/nginx.nix
../docker/obsidian/nginx.nix ../docker/obsidian/nginx.nix
../docker/sonarr/nginx.nix ../docker/sonarr/nginx.nix
../docker/qbit/nginx.nix
../docker/prowlarr/nginx.nix
]; ];
users = { users = {
users = { users = {
@ -53,6 +55,8 @@ in
../docker/vw ../docker/vw
../docker/obsidian ../docker/obsidian
../docker/sonarr ../docker/sonarr
../docker/qbit
../docker/prowlarr
./home.nix ./home.nix
]; ];
} }