mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-16 13:22:53 -06:00
ae16d425ab
test with: https://deploy-preview-8671--openpolicyagent.netlify.app/downloads/edge/opa_darwin_amd64 Signed-off-by: Charlie Egan <charlie_egan@apple.com>
86 lines
4.0 KiB
Plaintext
86 lines
4.0 KiB
Plaintext
# -----------------------------------------------------------------------------
|
|
# Redirects for our content
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# added as edge case to the below splat redirect we use for the general case
|
|
/docs/latest/ecosystem/ /ecosystem
|
|
|
|
# while we have a lot of links to /docs/latest/ in the wild, we want to
|
|
# redirect them to /docs/
|
|
/docs/latest/* /docs/:splat 301
|
|
|
|
# these two pages have been moved in the creation of the new site.
|
|
/docs/kubernetes-introduction/ /docs/kubernetes/
|
|
/docs/kubernetes-tutorial/ /docs/kubernetes/tutorial/
|
|
/docs/envoy-introduction/ /docs/envoy/
|
|
/docs/envoy-tutorial-istio/ /docs/envoy/tutorial-istio/
|
|
/docs/envoy-tutorial-standalone-envoy/ /docs/envoy/tutorial-standalone-envoy/
|
|
/docs/envoy-tutorial-gloo-edge/ /docs/envoy/tutorial-gloo-edge/
|
|
|
|
# point to search for old ecosystem pages
|
|
/integrations/:entry/* /ecosystem?q=:entry 301!
|
|
/softwares/:entry/* /ecosystem?q=:entry 301!
|
|
/organizations/:entry/* /ecosystem?q=:entry 301!
|
|
|
|
# we have a log "type" called "openpolicyagent.org/decision_logs", we have seen
|
|
# over 100 requests for this path in the past 24hrs at time of adding and it'd
|
|
# be ideal if human users were redirected to the documentation for decision
|
|
# logs.
|
|
/decision_logs /docs/management-decision-logs
|
|
|
|
# TODO: Remove after 2026-10-01
|
|
# https://github.com/open-policy-agent/opa/issues/8424
|
|
/docs/management/ /docs/management-introduction
|
|
|
|
# 7729 and #7720 were opened relating to this but we don't know the source of
|
|
# the old link
|
|
/docs/kubernetes-admission-control.html /docs/kubernetes
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Redirects for immutable referrers
|
|
# -----------------------------------------------------------------------------
|
|
# https://ieeexplore.ieee.org/document/11323460/references#references
|
|
/docs/policylanguage/ /docs/policy-language
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Redirects for legacy usage external resources
|
|
# -----------------------------------------------------------------------------
|
|
|
|
/bundles/helm-kubernetes-quickstart /external-resources/bundles/helm-kubernetes-quickstart 301!
|
|
/bundles/envoy/authz /external-resources/bundles/envoy/authz 301!
|
|
/bundles/istio/authz /external-resources/bundles/istio/authz 301!
|
|
/bundles/kubernetes/admission /external-resources/bundles/kubernetes/admission 301!
|
|
/img/logos/opa-horizontal-color.png /external-resources/opa-horizontal-color.png 301!
|
|
/img/logos/opa-no-text-color.png /external-resources/opa-no-text-color.png 301!
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Redirects relating to client behavior
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# some clients seem to load manifest.json even though the manifest is set to
|
|
# another path.
|
|
/manifest.json /site.webmanifest 301!
|
|
|
|
# clients still seem to request the precomposed icon even though we make
|
|
# no reference to it. We can use the same as the normal icon.
|
|
/apple-touch-icon-precomposed.png /apple-touch-icon.png 301!
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Redirects relating to spam traffic
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# these paths are commonly requested and cause noise when detecthing real 404s
|
|
/wp-login.php / 301!
|
|
/wlwmanifest.xml / 301!
|
|
*/wp-login.php / 301!
|
|
*/wlwmanifest.xml / 301!
|
|
/xmlrpc.php / 301!
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Redirects relating to github asset downloads
|
|
# -----------------------------------------------------------------------------
|
|
|
|
/downloads/edge/* https://idcvpgfcikvb.objectstorage.us-ashburn-1.oci.customer-oci.com/n/idcvpgfcikvb/b/openpolicyagent-binaries/o/%2Fbinaries%2Fedge%2F:splat 200
|
|
/downloads/latest/* https://github.com/open-policy-agent/opa/releases/latest/download/:splat 200
|
|
/downloads/* https://github.com/open-policy-agent/opa/releases/download/:splat 200
|