seafile configuration
This commit is contained in:
parent
b98699794d
commit
98b18487ae
1 changed files with 9 additions and 2 deletions
|
|
@ -4,10 +4,17 @@
|
||||||
seahubPackage = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.seahub;
|
seahubPackage = inputs.nixpkgs-stable.legacyPackages.${pkgs.system}.seahub;
|
||||||
|
|
||||||
adminEmail = "jurnwubben@gmail.com";
|
adminEmail = "jurnwubben@gmail.com";
|
||||||
initialAdminPassword = "test";
|
initialAdminPassword = "ChangeMeTheFuckNow!";
|
||||||
|
|
||||||
|
gc.enable = true;
|
||||||
|
|
||||||
ccnetSettings.General.SERVICE_URL = "https://files.jsw.tf";
|
ccnetSettings.General.SERVICE_URL = "https://files.jsw.tf";
|
||||||
|
seahubExtraConf = ''
|
||||||
|
ALLOWED_HOSTS = ['.files.jsw.tf']
|
||||||
|
CSRF_COOKIE_SECURE = True
|
||||||
|
CSRF_COOKIE_SAMESITE = 'Strict'
|
||||||
|
CSRF_TRUSTED_ORIGINS = ['https://files.jsw.tf', 'https://www.files.jsw.tf']
|
||||||
|
'';
|
||||||
seafileSettings = {
|
seafileSettings = {
|
||||||
fileserver = {
|
fileserver = {
|
||||||
host = "unix:/run/seafile/server.sock";
|
host = "unix:/run/seafile/server.sock";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue