feat(koi): jetbra mirror
This commit is contained in:
parent
29132575ff
commit
6993dc5b6f
2 changed files with 8 additions and 0 deletions
|
@ -5,5 +5,12 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
useACMEHost = "stupid.fish";
|
useACMEHost = "stupid.fish";
|
||||||
root = pkgs.copyPathToStore ./assets;
|
root = pkgs.copyPathToStore ./assets;
|
||||||
|
|
||||||
|
locations."/jetbra/" = {
|
||||||
|
extraConfig = ''
|
||||||
|
alias /mnt/s3-desu-priv-encrypted/jetbra/;
|
||||||
|
try_files $uri $uri/ /index.html;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -90,5 +90,6 @@
|
||||||
extraDomainNames = [ "*.s3.stupid.fish" ];
|
extraDomainNames = [ "*.s3.stupid.fish" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
users.users.nginx.extraGroups = [ "geesefs" ];
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue