New directive tricot-add-redirect <match-prefix> <redirect-prefix> [301|302|303|307]
#10
Loading…
Reference in a new issue
No description provided.
Delete branch "redirect"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Roadmap
proxy_config.rs
to fetch the redirectshttps.rs::selected_target_and_proxy
to apply redirection if needednix build
nix store sign --key-file <(pass deuxfleurs/nix_priv_key) $(nix build)
source ~/.awsrc
nix copy --to 's3://nix?endpoint=garage.deuxfleurs.fr®ion=garage' $(nix build)
28: packages = [ "git+https://git.deuxfleurs.fr/Deuxfleurs/tricot.git?ref=redirect&rev=b76b6dcbcc47ebc61848389a6b0d5d4e8d8cde48" ]
docker build -t "superboum/amd64_tricot:52" .
(prev was:lxpz/amd64_tricot:51
)docker push superboum/tricot_amd64:52
Note: we should really build tricot docker containers with nix...
Test
Limitations
a.example.com/a?x=y
is redirected tob.example.com/b
)WIP: New directiveto WIP: New directivetricot-add-redirect <match-prefix> <redirect-prefix> [301|302]
tricot-add-redirect <match-prefix> <redirect-prefix> [301|302|303|307]
WIP: New directiveto New directivetricot-add-redirect <match-prefix> <redirect-prefix> [301|302|303|307]
tricot-add-redirect <match-prefix> <redirect-prefix> [301|302|303|307]