feat: Disable seafile for now
This commit is contained in:
@@ -7,8 +7,9 @@
|
|||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./vscode.nix
|
./vscode.nix
|
||||||
# ./nextcloud.nix
|
|
||||||
# ./seafile.nix
|
# ./seafile.nix
|
||||||
|
|
||||||
|
# ./nextcloud.nix
|
||||||
# ./navidrome.nix
|
# ./navidrome.nix
|
||||||
# ./ldap.nix
|
# ./ldap.nix
|
||||||
# ./home-assistant.nix
|
# ./home-assistant.nix
|
||||||
|
|||||||
@@ -5,14 +5,11 @@
|
|||||||
nixpkgs.config.allowBroken = true;
|
nixpkgs.config.allowBroken = true;
|
||||||
services = {
|
services = {
|
||||||
seafile = {
|
seafile = {
|
||||||
group = config.services.caddy.group;
|
enable = true;
|
||||||
enable = false;
|
# group = config.services.caddy.group;
|
||||||
adminEmail = "admin@uttarayan.me";
|
adminEmail = "admin@uttarayan.me";
|
||||||
initialAdminPassword = "foobar";
|
initialAdminPassword = "foobar";
|
||||||
|
|
||||||
seafileSettings = {
|
|
||||||
fileserver.host = "unix:/run/seafile/server.sock";
|
|
||||||
};
|
|
||||||
seahubExtraConf =
|
seahubExtraConf =
|
||||||
/*
|
/*
|
||||||
python
|
python
|
||||||
@@ -21,7 +18,7 @@
|
|||||||
ENABLE_REMOTE_USER_AUTHENTICATION = True
|
ENABLE_REMOTE_USER_AUTHENTICATION = True
|
||||||
# Optional, HTTP header, which is configured in your web server conf file,
|
# Optional, HTTP header, which is configured in your web server conf file,
|
||||||
# used for Seafile to get user's unique id, default value is 'HTTP_REMOTE_USER'.
|
# used for Seafile to get user's unique id, default value is 'HTTP_REMOTE_USER'.
|
||||||
REMOTE_USER_HEADER = 'HTTP_REMOTE_USER'
|
REMOTE_USER_HEADER = 'HTTP_EMAIL'
|
||||||
# Optional, when the value of HTTP_REMOTE_USER is not a valid email address,
|
# Optional, when the value of HTTP_REMOTE_USER is not a valid email address,
|
||||||
# Seafile will build a email-like unique id from the value of 'REMOTE_USER_HEADER'
|
# Seafile will build a email-like unique id from the value of 'REMOTE_USER_HEADER'
|
||||||
# and this domain, e.g. user1@example.com.
|
# and this domain, e.g. user1@example.com.
|
||||||
@@ -45,7 +42,7 @@
|
|||||||
uri /api/authz/forward-auth
|
uri /api/authz/forward-auth
|
||||||
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
|
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
|
||||||
}
|
}
|
||||||
reverse_proxy unix//run/seafile/server.sock
|
reverse_proxy unix//run/seahub/gunicorn.sock
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user