1
0
Fork 0
mirror of https://github.com/betagouv/mon-entreprise synced 2025-02-09 01:45:03 +00:00
mon-entreprise/site/mon-entreprise.fr/netlify.toml
2023-04-06 12:20:11 +02:00

25 lines
898 B
TOML

# Le projet "mon-entreprise.fr" se contente de faire une redirection 301 vers
# les nouveaux domaines en *.urssaf.fr. Il y a 2 projets distincts sur Netlify
# car le site "mon-entreprise.fr" utilise un certificat let's encrypt tandis que
# les nouveaux noms de domaines en *.urssaf.fr utilisent un certificat dédié.
[[redirects]]
from = "https://mon-entreprise.fr/modules/v2/dist/simulateur.js"
to = "https://mon-entreprise.urssaf.fr/simulateur-iframe-integration.js"
status = 301
[[redirects]]
from = "https://mon-entreprise.fr/dist/simulateur.js"
to = "https://mon-entreprise.urssaf.fr/simulateur-iframe-integration.js"
status = 301
[[redirects]]
from = "https://mon-entreprise.fr/*"
to = "https://mon-entreprise.urssaf.fr/:splat"
status = 301
[[redirects]]
from = "https://mycompanyinfrance.fr/*"
to = "https://mycompanyinfrance.urssaf.fr/:splat"
status = 301