add kavita dns/nginx entry, exclude folder from remotebackup

This commit is contained in:
Kopatz
2023-12-06 11:33:59 +01:00
parent 1fd0d104f6
commit 0028033ba0
3 changed files with 14 additions and 0 deletions

View File

@@ -54,6 +54,10 @@ in
"domain" = "nextcloud.local";
"answer" = ip;
}
{
"domain" = "kavita.local";
"answer" = ip;
}
{
"domain" = "turnserver.local";
"answer" = "192.168.2.1";

View File

@@ -72,6 +72,7 @@
"/home/**/.cache"
"/home/**/__pycache__"
"/home/**/node_modules"
"/home/**/dont_remotebackup"
"/home/**/venv"
];
rcloneConfigFile = config.age.secrets.restic-gdrive.path;
@@ -89,6 +90,7 @@
"/home/**/__pycache__"
"/home/**/node_modules"
"/home/**/venv"
"/home/**/dont_remotebackup"
];
initialize = true;
passwordFile = config.age.secrets.restic-pw.path;

View File

@@ -78,6 +78,14 @@
"adguard.local" = {
locations."/".proxyPass = "http://127.0.0.1:3000";
};
"kavita.local" = {
locations."/".proxyPass = "http://127.0.0.1:5000";
locations."/".extraConfig = ''
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods "GET, POST, OPTIONS";
add_header Access-Control-Allow-Headers "Authorization, Origin, X-Requested-With, Content-Type, Accept";
'';
};
};
};
}