feat: cf fixes
This commit is contained in:
parent
e58324c3c9
commit
77d26e620a
1 changed files with 2 additions and 0 deletions
|
|
@ -31,6 +31,8 @@ in
|
|||
|
||||
nixpkgs.overlays = [ inputs.copyparty.overlays.default ];
|
||||
environment.systemPackages = [ pkgs.copyparty ];
|
||||
services.copyparty.settings.xff-hdr = if config.services.cloudflared.enable then "cf-connecting-ip" else null;
|
||||
services.copyparty.settings.rproxy = if config.services.cloudflared.enable then 1 else null;
|
||||
services.copyparty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue