Compare commits
4 Commits
04b2b7da33
...
07c637749a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07c637749a | ||
|
|
579887e825 | ||
|
|
a2003bc5aa | ||
|
|
d0964c01a7 |
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"base": {
|
"base": {
|
||||||
"foreground": "#dcd5f5",
|
"foreground": "#fefefe",
|
||||||
"background": "#100929"
|
"background": "#020202"
|
||||||
},
|
},
|
||||||
"to_alter": {
|
"to_alter": {
|
||||||
"accent": "#765ad7",
|
"accent": "#aaaaff",
|
||||||
"secondary": "#ce32ff",
|
"secondary": "#aaeeff",
|
||||||
"tertiary": "#879eaa",
|
"tertiary": "#aaffaa",
|
||||||
"special": "#bad759",
|
"special": "#aaffaa",
|
||||||
"weird": "#d75991"
|
"weird": "#ffffaa"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8,16 +8,21 @@
|
|||||||
package = pkgs.copyparty;
|
package = pkgs.copyparty;
|
||||||
openFilesLimit = 8192;
|
openFilesLimit = 8192;
|
||||||
settings = {
|
settings = {
|
||||||
i = [ "0.0.0.0" "unix:770:copyparty:/dev/shm/party.sock" ];
|
|
||||||
p = [ 3210 3211 ];
|
p = [ 3210 3211 ];
|
||||||
no-reload = true;
|
i = [ "0.0.0.0" "unix:770:copyparty:/dev/shm/party.sock" ];
|
||||||
|
name = "NxCopyParty";
|
||||||
|
|
||||||
ignored-flag = false;
|
ignored-flag = false;
|
||||||
shr = "/shares";
|
no-reload = true;
|
||||||
css-browser = "https://nx2.site/copyparty/extra-browser.css";
|
|
||||||
theme = 6;
|
|
||||||
xff-hdr = "X-Forwarded-For"; # so that cpp knows the real client ip behind nginx. Must match with nginx config
|
|
||||||
rproxy = 1;
|
|
||||||
no-robots = true;
|
no-robots = true;
|
||||||
|
|
||||||
|
rproxy = 1;
|
||||||
|
xff-hdr = "X-Forwarded-For"; # so that cpp knows the real client ip behind nginx. Must match with nginx config
|
||||||
|
|
||||||
|
shr = "/shares";
|
||||||
|
css-browser = "https://${hyper.domain}/copyparty/extra-browser.css";
|
||||||
|
theme = 6;
|
||||||
};
|
};
|
||||||
accounts = {
|
accounts = {
|
||||||
"${hyper.user}" = {
|
"${hyper.user}" = {
|
||||||
|
|||||||
@@ -90,24 +90,22 @@
|
|||||||
default = true;
|
default = true;
|
||||||
listen = dl;
|
listen = dl;
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/".extraConfig = ''
|
||||||
extraConfig = ''
|
index index.html;
|
||||||
index index.html;
|
'';
|
||||||
'';
|
"~ ^(/.well-known/matrix/client)$".return = "502";
|
||||||
};
|
"~ ^(/.well-known/matrix/server)$".return = "502";
|
||||||
"~^(/ba)$" = { return = "301 /BA.pdf"; };
|
"~ ^(/phone)$".return = "301 /cards/phone";
|
||||||
"/.well-known/matrix/client" = { return = "502"; };
|
"~ ^(/about-me)$".return = "301 /slides/about-me";
|
||||||
"/.well-known/matrix/server" = { return = "502"; };
|
"~ ^(/about-this-site)$".return = "301 /slides/about-this-site";
|
||||||
"/phone" = { return = "301 /cards/phone"; };
|
"~ ^(/gpg)$".return = "301 /cards/gpg";
|
||||||
"/about-me" = { return = "301 /slides/about-me"; };
|
"~ ^(/contact)$".return = "301 /cards/contact";
|
||||||
"/about-this-site" = { return = "301 /slides/about-this-site"; };
|
"~ ^(/ba)$".return = "301 /BA.pdf";
|
||||||
"/gpg" = { return = "301 /cards/gpg"; };
|
|
||||||
"/contact" = { return = "301 /cards/contact"; };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
"matrix.${hyper.domain}" = {
|
"matrix.${hyper.domain}" = {
|
||||||
listen = dl;
|
listen = dl;
|
||||||
locations = { "~.*" = { return = "502"; }; };
|
locations."~.*".return = "502";
|
||||||
};
|
};
|
||||||
# "pw.${hyper.domain}" = vh // {
|
# "pw.${hyper.domain}" = vh // {
|
||||||
# listen = dl;
|
# listen = dl;
|
||||||
|
|||||||
Reference in New Issue
Block a user