mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-09 05:53:07 -04:00
things
- enable - qbit - prowlarr - use proxyWebsockets - use reccomended proxy settings - fix docker compose file name
This commit is contained in:
parent
1414a69553
commit
b07403e610
5 changed files with 11 additions and 10 deletions
|
@ -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;
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
proxyPass = "http://localhost:9696";
|
proxyPass = "http://localhost:9696";
|
||||||
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue