Compare commits

..
2 changed files with 13 additions and 30 deletions

View file

@ -1,21 +1,4 @@
{ {
services.caddy.virtualHosts."nexus.federated.nexus".extraConfig = '' services.caddy.virtualHosts."nexus.federated.nexus".extraConfig =
handle_path /flatpak/* { "redir https://git.federated.nexus/Nexus/nexus{uri} permanent";
rewrite * /nexus{path}
reverse_proxy https://henry-hiles.github.io {
header_up Host {upstream_hostport}
}
@immutable path /objects/* /deltas/*
header @immutable >Cache-Control "public, max-age=31536000, immutable"
@mutable path /summary /summary.sig /refs/* /appstream/*
header @mutable >Cache-Control "no-cache"
}
handle {
redir https://git.federated.nexus/Nexus/nexus{uri} permanent
}
'';
} }

22
flake.lock generated
View file

@ -376,11 +376,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1790571788, "lastModified": 1790557494,
"narHash": "sha256-lPhcuiGNTh9aAR2khVrLbTcLybknb3VpBckKkeIUVfE=", "narHash": "sha256-z9iOdSjTvv+kDJaoAyKTzrY0ge2KM90H4tM8ir52RMQ=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "76e87c93d8f562ec5024859fb1cfd20db3cbe449", "rev": "046074bbc2c8d1af6dd86f93e1c512fbd8b78da8",
"revCount": 7779, "revCount": 7777,
"type": "git", "type": "git",
"url": "https://forgejo.ellis.link/continuwuation/continuwuity" "url": "https://forgejo.ellis.link/continuwuation/continuwuity"
}, },
@ -1773,11 +1773,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1790628498, "lastModified": 1790471471,
"narHash": "sha256-AQeuThdPpjQqs6Ty4tnyFTTdZqJJxZFCsuvaiRSgYEI=", "narHash": "sha256-6+qtNq0ef55u91Su7TJ5LV1YNn3uDjJoj9nJ7aF+FWM=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "01566894a6a3adda98a9a559a4948980d71ecd56", "rev": "e300f4efc973c2ff286b5d4479479cc32add8cc4",
"revCount": 896, "revCount": 888,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://git.federated.nexus/Nexus/nexus" "url": "https://git.federated.nexus/Nexus/nexus"
@ -2486,11 +2486,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1790578696, "lastModified": 1790463110,
"narHash": "sha256-ZoxIApko70jCdbH3l20HWXOBaT2HZd87orzd2yJ9dVE=", "narHash": "sha256-hKlVl12B1dF0Q5vd9dY3lIJM5mFGWYSlXwSLAqHZ1+s=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "7a0f122f5090cf4c2ade2a13a0e229d4e19ba71f", "rev": "e158d9ed9b51c98974c5e66e1ba1c9e0255fecaa",
"type": "github" "type": "github"
}, },
"original": { "original": {