[build]
  command = "npm run build"
  publish = "dist"

[build.environment]
  NODE_VERSION = "12.16"

[[headers]]
  for = "/*"
  [headers.values]
    X-Frame-Options = "DENY"
    X-XSS-Protection = "1; mode=block"
    X-Content-Type-Options = "nosniff"
    Referrer-Policy= "no-referrer-when-downgrade"
    Permissions-Policy = "interest-cohort=()"

[[headers]]
  for = "/sw.js"

  [headers.values]
    cache-control = "max-age=0,no-cache,no-store,must-revalidate"

# Redirects
[[redirects]]
from = "/artikel/der-verraeterische-geist/"
to = "/"
status = 301
force = true

[[redirects]]
from = "/artikel/ninjakleidung/Wurde/"
to = "/"
status = 301
force = true

[[redirects]]
from = "/hiragana.html"
to = "/"
status = 301
force = true

[[redirects]]
from = "/kanji.html"
to = "/"
status = 301
force = true

[[redirects]]
from = "/katakana.html"
to = "/"
status = 301
force = true

[[redirects]]
from = "/kurzmeldungen/*"
to = "/"
status = 301
force = true

[[redirects]]
from = "/lexikon/kuma/"
to = "/"
status = 301
force = true

[[redirects]]
from = "/mint/pepper/*"
to = "/"
status = 301
force = true

[[redirects]]
from = "/service/journal/*"
to = "/"
status = 301
force = true

[[redirects]]
from = "/shortstat/"
to = "/"
status = 301
force = true

[[redirects]]
from = "/tag/*"
to = "/"
status = 301
force = true

[[redirects]]
from = "/a.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/abhaertung.html"
to = "/artikel/abhaertung/"
status = 301
force = true

[[redirects]]
from = "/archiv/"
to = "/artikel/"
status = 301
force = true

[[redirects]]
from = "/artikel/atemi/"
to = "/artikel/atemi-te/"
status = 301
force = true

[[redirects]]
from = "/artikel/atemite/"
to = "/artikel/atemi-te/"
status = 301
force = true

[[redirects]]
from = "/artikel/das-erbe-der-ninja/bujinkan/"
to = "/artikel/bujinkan/"
status = 301
force = true

[[redirects]]
from = "/artikel/das-erbe-der-ninja/hatsumi-masaaki/"
to = "/artikel/hatsumi-masaaki/"
status = 301
force = true

[[redirects]]
from = "/artikel/das-erbe-der-ninja/kukishinden-ryu/"
to = "/artikel/kukishinden-ryu/"
status = 301
force = true

[[redirects]]
from = "/artikel/das-erbe-der-ninja/togakure-ryu/"
to = "/artikel/togakure-ryu/"
status = 301
force = true

[[redirects]]
from = "/artikel/geistige-kraefte/kujiin/"
to = "/artikel/kujiin/"
status = 301
force = true

[[redirects]]
from = "/artikel/geschichte/"
to = "/artikel/moderne-geschichte/"
status = 301
force = true

[[redirects]]
from = "/artikel/geschichte/bansenshukai/"
to = "/artikel/bansenshukai/"
status = 301
force = true

[[redirects]]
from = "/artikel/geschichte/iga-no-ran/"
to = "/artikel/iga-no-ran/"
status = 301
force = true

[[redirects]]
from = "/artikel/geschichte/kunoichi/"
to = "/artikel/kunoichi/"
status = 301
force = true

[[redirects]]
from = "/artikel/hatsumi/"
to = "/artikel/hatsumi-masaaki/"
status = 301
force = true

[[redirects]]
from = "/artikel/kriegskunst/atemi-te/"
to = "/artikel/atemi-te/"
status = 301
force = true

[[redirects]]
from = "/artikel/kriegskunst/kamae/"
to = "/artikel/kamae/"
status = 301
force = true

[[redirects]]
from = "/artikel/kriegskunst/koerperwaffen/"
to = "/artikel/koerperwaffen/"
status = 301
force = true

[[redirects]]
from = "/artikel/kriegskunst/shinobi-iri/"
to = "/artikel/shinobi-iri/"
status = 301
force = true

[[redirects]]
from = "/artikel/kriegskunst/taijutsu/"
to = "/artikel/taijutsu/"
status = 301
force = true

[[redirects]]
from = "/artikel/kriegskunst/ukemi/"
to = "/artikel/ukemi/"
status = 301
force = true

[[redirects]]
from = "/artikel/kujiin/"
to = "/artikel/kuji-in/"
status = 301
force = true

[[redirects]]
from = "/artikel/lexikon-und-sprache/"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/artikel/shinden/"
to = "/artikel/shinden-fudo-ryu/"
status = 301
force = true

[[redirects]]
from = "/artikel/strategie-und-taktik/gotonpo/"
to = "/artikel/gotonpo/"
status = 301
force = true

[[redirects]]
from = "/artikel/strategie-und-taktik/onshinjutsu/"
to = "/artikel/onshinjutsu/"
status = 301
force = true

[[redirects]]
from = "/artikel/uebersicht/"
to = "/artikel/"
status = 301
force = true

[[redirects]]
from = "/artikel/vorwort/"
to = "/artikel/ninjutsu/"
status = 301
force = true

[[redirects]]
from = "/artikel/waffen-und-werkzeuge/"
to = "/artikel/waffen/"
status = 301
force = true

[[redirects]]
from = "/artikel/waffen-und-werkzeuge/kletterwerkzeuge/"
to = "/artikel/kletterwerkzeuge/"
status = 301
force = true

[[redirects]]
from = "/artikel/waffen-und-werkzeuge/waffen/"
to = "/artikel/waffen/"
status = 301
force = true

[[redirects]]
from = "/artikel/waffen/waffen/"
to = "/artikel/waffen/"
status = 301
force = true

[[redirects]]
from = "/atemite.html"
to = "/artikel/atemi-te/"
status = 301
force = true

[[redirects]]
from = "/atikel/atemi-te/"
to = "/artikel/atemi-te/"
status = 301
force = true

[[redirects]]
from = "/ausbildung.html"
to = "/artikel/ausbildung-der-ninja/"
status = 301
force = true

[[redirects]]
from = "/b.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/bansenshukai.html"
to = "/artikel/bansenshukai/"
status = 301
force = true

[[redirects]]
from = "/bujinkan.htm"
to = "/artikel/bujinkan/"
status = 301
force = true

[[redirects]]
from = "/d.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/f.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/g.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/gotonpo.html"
to = "/artikel/gotonpo/"
status = 301
force = true

[[redirects]]
from = "/gyokko.html"
to = "/artikel/gyokko-ryu/"
status = 301
force = true

[[redirects]]
from = "/gyokkoryu.html"
to = "/artikel/gyokko-ryu/"
status = 301
force = true

[[redirects]]
from = "/h.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/hatsumi.html"
to = "/artikel/hatsumi-masaaki/"
status = 301
force = true

[[redirects]]
from = "/i.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/iganoran.html"
to = "/artikel/iga-no-ran/"
status = 301
force = true

[[redirects]]
from = "/inhalt/"
to = "/artikel/"
status = 301
force = true

[[redirects]]
from = "/k.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/kogaryu.html"
to = "/artikel/koga-ryu/"
status = 301
force = true

[[redirects]]
from = "/kontakt/"
to = "/info/"
status = 301
force = true

[[redirects]]
from = "/kukishinden.html"
to = "/artikel/kukishinden-ryu/"
status = 301
force = true

[[redirects]]
from = "/kunoichi.html"
to = "/artikel/kunoichi/"
status = 301
force = true

[[redirects]]
from = "/m.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/mikkyo.html"
to = "/artikel/mikkyo/"
status = 301
force = true

[[redirects]]
from = "/n.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/ninja.html"
to = "/artikel/ninjutsu/"
status = 301
force = true

[[redirects]]
from = "/o.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/onshinjutsu.html"
to = "/artikel/onshinjutsu/"
status = 301
force = true

[[redirects]]
from = "/r.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/s.html"
to = "/lexikon/"
status = 301
force = true

[[redirects]]
from = "/shindenfudo.html"
to = "/artikel/shinden-fudo-ryu/"
status = 301
force = true

[[redirects]]
from = "/shinobiiri.html"
to = "/artikel/shinobi-iri/"
status = 301
force = true

[[redirects]]
from = "/sitemap.html"
to = "/artikel/"
status = 301
force = true
