Merge branch 'master' of github.com:/kropatz/dotfiles
This commit is contained in:
@@ -68,7 +68,6 @@
|
|||||||
./modules/kavita.nix
|
./modules/kavita.nix
|
||||||
./modules/netdata.nix
|
./modules/netdata.nix
|
||||||
./modules/tmpfs.nix
|
./modules/tmpfs.nix
|
||||||
./modules/anki.nix
|
|
||||||
### Hardware ###
|
### Hardware ###
|
||||||
./modules/hardware/ssd.nix
|
./modules/hardware/ssd.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
services.ankisyncd = {
|
|
||||||
enable = true;
|
|
||||||
port = 27701;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -62,12 +62,12 @@
|
|||||||
#serverAliases = [
|
#serverAliases = [
|
||||||
# "localhost"
|
# "localhost"
|
||||||
#];
|
#];
|
||||||
root = "/data/website";
|
root = "/data/website/tracker-site-public";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations."/tracker-site-public" = {
|
locations."/" = {
|
||||||
tryFiles = "$uri $uri/ /tracker-site-public/index.html =404";
|
tryFiles = "$uri $uri/ /index.html =404";
|
||||||
};
|
};
|
||||||
locations."/api" = {
|
locations."/api" = {
|
||||||
extraConfig =''
|
extraConfig =''
|
||||||
rewrite /api/(.*) /$1 break;
|
rewrite /api/(.*) /$1 break;
|
||||||
|
|||||||
Reference in New Issue
Block a user