# IndexNow (Bing/DDG/Yandex): la key debe servirse en la RAÍZ del host para # autorizar todo el sitio (regla de alcance del protocolo). Ghost no sirve # ficheros arbitrarios en la raíz, así que replacePath reescribe /{key}.txt # al fichero real en content/files/indexnow/ (PVC de Ghost). # El vigilante que envía las URLs es ~/seo-tools/indexnow_watch.py en el master. --- apiVersion: traefik.io/v1alpha1 kind: Middleware metadata: name: indexnow-key-rewrite namespace: ghost-en spec: replacePath: path: /content/files/indexnow/71a89fb8cf46217a239d3a6f0fe3f14f.txt --- apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: ghost-en-indexnow namespace: ghost-en spec: entryPoints: - websecure routes: - kind: Rule match: Host(`www.theexclusionzone.com`) && Path(`/71a89fb8cf46217a239d3a6f0fe3f14f.txt`) middlewares: - name: indexnow-key-rewrite namespace: ghost-en services: - name: ghost-en port: 2368 tls: secretName: ghost-en-tls