interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / infra / nginx / snippets / aienos-rad-moved.conf
| 1 | # Bazinga (2026-11-15): clone addresses printed before 2026-11-14 |
| 2 | # https://www.aienos.com/rad/<id>.git |
| 3 | # keep working: they answer a redirect to the project's git address on interplane.io |
| 4 | # https://interplane.io/drakestapleton/<name>.git |
| 5 | # (git follows a redirect on its first request). Names come from conf.d/bazinga-rad-map.conf. |
| 6 | # No Radicle program or storage is involved. Included in the www.aienos.com server block. |
| 7 | # Undo: remove the include line and conf.d/bazinga-rad-map.conf, nginx -t, reload. |
| 8 | location ~ "^/rad/(?<bz_rid>z[1-9A-HJ-NP-Za-km-z]{20,60})\.git(?:/z6Mk[1-9A-HJ-NP-Za-km-z]+)?(?<bz_rest>/[A-Za-z0-9._/-]*)?$" { |
| 9 | if ($bz_radname = "") { return 404; } |
| 10 | return 301 https://interplane.io/drakestapleton/$bz_radname.git$bz_rest$is_args$args; |
| 11 | } |