2021-05-10 09:54:56 +00:00
|
|
|
[[headers]]
|
|
|
|
for = "/*"
|
|
|
|
[headers.values]
|
2022-10-24 13:03:14 +00:00
|
|
|
Content-Security-Policy = "default-src 'self' mon-entreprise.fr; style-src 'self' 'unsafe-inline' mon-entreprise.zammad.com; connect-src 'self' *.incubateur.net raw.githubusercontent.com tm.urssaf.fr mon-entreprise.zammad.com api.recherche-entreprises.fabrique.social.gouv.fr geo.api.gouv.fr *.algolia.net *.algolianet.com polyfill.io jedonnemonavis.numerique.gouv.fr user-images.githubusercontent.com; form-action 'self' *.sibforms.com *.incubateur.net mon-entreprise.zammad.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' tm.urssaf.fr *.incubateur.net stonly.com code.jquery.com mon-entreprise.zammad.com polyfill.io; img-src 'self' data: mon-entreprise.urssaf.fr tm.urssaf.fr user-images.githubusercontent.com jedonnemonavis.numerique.gouv.fr; frame-src 'self' https://www.youtube-nocookie.com https://codesandbox.io https://place-des-entreprises.beta.gouv.fr https://reso-staging.osc-fr1.scalingo.io https://stackblitz.com"
|
2022-06-29 20:35:03 +00:00
|
|
|
|
|
|
|
[dev]
|
|
|
|
autoLaunch = false
|
2021-09-15 15:34:49 +00:00
|
|
|
|
2022-07-04 15:10:00 +00:00
|
|
|
[[headers]]
|
|
|
|
for = "/manifest.webmanifest"
|
|
|
|
[headers.values]
|
|
|
|
Content-Type = "application/manifest+json"
|
|
|
|
|
2022-10-24 14:42:51 +00:00
|
|
|
## Scalingo proxy for server
|
|
|
|
[[redirects]]
|
|
|
|
from = "/server-functions/*"
|
|
|
|
to = ":SERVER_URL/:splat"
|
|
|
|
status = 200
|
|
|
|
|
2022-06-02 11:30:54 +00:00
|
|
|
## Scalingo proxy for API
|
2022-05-23 08:28:21 +00:00
|
|
|
[[redirects]]
|
|
|
|
from = "/api/*"
|
2022-06-08 09:03:14 +00:00
|
|
|
to = ":API_URL/api/:splat"
|
2022-05-23 08:28:21 +00:00
|
|
|
status = 200
|
|
|
|
|
2021-09-15 15:34:49 +00:00
|
|
|
## Twemoji proxy for client privacy #1219
|
|
|
|
[[redirects]]
|
|
|
|
from = "/twemoji/*"
|
|
|
|
to = "https://twemoji.maxcdn.com/:splat"
|
|
|
|
status = 200
|
2021-05-10 09:54:56 +00:00
|
|
|
|
2022-05-24 17:00:18 +00:00
|
|
|
|
|
|
|
|
|
|
|
############
|
|
|
|
# Prerender will be added by script build:prerender
|
|
|
|
#[prerender]#
|
|
|
|
|
|
|
|
############
|
|
|
|
# Redirects for single page app config
|
|
|
|
|
|
|
|
|
|
|
|
# Mon-entreprise.fr
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_FR/robots.txt"
|
|
|
|
to = "/robots.fr.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_FR/sitemap.txt"
|
|
|
|
to = "/sitemap.fr.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_FR/dev/storybook"
|
|
|
|
to = "/dev/storybook/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_FR/*"
|
|
|
|
to = "/mon-entreprise.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
|
|
|
# Mycompanyinfrance
|
|
|
|
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_EN/robots.txt"
|
|
|
|
to = "/robots.en.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_EN/sitemap.txt"
|
|
|
|
to = "/sitemap.en.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_EN/dev/storybook"
|
|
|
|
to = "/dev/storybook/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = ":SITE_EN/*"
|
|
|
|
to = "/infrance.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
2020-06-23 11:19:05 +00:00
|
|
|
############
|
|
|
|
# Redirects following architectural changes
|
2019-10-22 12:25:06 +00:00
|
|
|
|
2021-03-18 12:15:07 +00:00
|
|
|
# :SITE_<name> is a placeholder replaced before deploy (depends on the environment)
|
2019-10-22 12:25:06 +00:00
|
|
|
|
2021-03-18 12:15:07 +00:00
|
|
|
# FR | coronavirus -> simulateurs/chômage-partiel
|
2020-05-15 14:16:13 +00:00
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from=":SITE_FR/coronavirus"
|
|
|
|
to=":SITE_FR/simulateurs/ch%C3%B4mage-partiel"
|
2019-10-22 12:25:06 +00:00
|
|
|
status = 301
|
|
|
|
|
2020-05-15 14:16:13 +00:00
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from=":SITE_FR/%C3%A9conomie-collaborative"
|
|
|
|
to=":SITE_FR/simulateurs/%C3%A9conomie-collaborative"
|
2019-10-22 12:25:06 +00:00
|
|
|
status = 301
|
|
|
|
|
2020-06-23 11:19:05 +00:00
|
|
|
# FR | salarié -> salaire-brut-net
|
2020-06-06 07:13:08 +00:00
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from=":SITE_FR/simulateurs/salari%C3%A9"
|
|
|
|
to=":SITE_FR/simulateurs/salaire-brut-net"
|
2020-06-06 07:13:08 +00:00
|
|
|
status = 301
|
2019-01-23 17:04:22 +00:00
|
|
|
|
2021-05-28 10:47:39 +00:00
|
|
|
# FR | assimilé-salarié -> sasu
|
2020-06-25 14:43:09 +00:00
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from=":SITE_FR/simulateurs/assimil%C3%A9-salari%C3%A9"
|
2021-05-28 10:47:39 +00:00
|
|
|
to=":SITE_FR/simulateurs/sasu"
|
|
|
|
status = 301
|
|
|
|
|
|
|
|
# FR | dirigeant-sasu -> sasu
|
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/simulateurs/dirigeant-sasu"
|
|
|
|
to=":SITE_FR/simulateurs/sasu"
|
2020-06-25 14:43:09 +00:00
|
|
|
status = 301
|
|
|
|
|
2020-08-31 14:21:38 +00:00
|
|
|
# FR | s%C3%A9curit%C3%A9-sociale/auto-entrepreneur -> simulateurs/auto-entrepreneur
|
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from=":SITE_FR/s%C3%A9curit%C3%A9-sociale/auto-entrepreneur"
|
|
|
|
to=":SITE_FR/simulateurs/auto-entrepreneur"
|
2020-08-31 14:21:38 +00:00
|
|
|
status = 301
|
2021-02-26 17:55:38 +00:00
|
|
|
|
2020-11-05 08:31:47 +00:00
|
|
|
# FR | sécurité-social/salarié -> simulateurs/salaire-brut-net
|
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from=":SITE_FR/s%C3%A9curit%C3%A9-sociale/salari%C3%A9"
|
|
|
|
to=":SITE_FR/simulateurs/salaire-brut-net"
|
2020-11-05 08:31:47 +00:00
|
|
|
statys = 301
|
2020-06-06 11:45:02 +00:00
|
|
|
|
2020-11-05 08:31:47 +00:00
|
|
|
# FR | sécurité-social/salarié -> simulateurs/salaire-brut-net
|
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from=":SITE_FR/s%C3%A9curit%C3%A9-sociale/salari%C3%A9"
|
|
|
|
to=":SITE_FR/simulateurs/salaire-brut-net"
|
2020-11-05 08:31:47 +00:00
|
|
|
status = 301
|
|
|
|
|
2019-09-18 15:22:21 +00:00
|
|
|
# SEO redirect
|
|
|
|
[[redirects]]
|
2021-03-18 12:15:07 +00:00
|
|
|
from = ":SITE_FR/documentation/contrat-salari%C3%A9/salaire/*"
|
|
|
|
to = ":SITE_FR/documentation/contrat-salari%C3%A9/r%C3%A9mun%C3%A9ration/:splat"
|
2019-09-18 15:22:21 +00:00
|
|
|
status = 301
|
2019-09-06 14:38:42 +00:00
|
|
|
|
2021-06-08 14:41:10 +00:00
|
|
|
# EN | sasu-chairman -> sasu
|
|
|
|
[[redirects]]
|
2022-06-02 11:30:54 +00:00
|
|
|
from=":SITE_EN/simulateurs/sasu-chairman"
|
|
|
|
to=":SITE_EN/simulateurs/sasu"
|
2021-06-08 14:41:10 +00:00
|
|
|
status = 301
|
|
|
|
|
2022-06-02 11:30:54 +00:00
|
|
|
# FR | intégration -> développeur
|
|
|
|
[[redirects]]
|
2022-06-27 13:36:16 +00:00
|
|
|
from=":SITE_FR/int%C3%A9gration/*"
|
|
|
|
to=":SITE_FR/d%C3%A9veloppeur/:splat"
|
2022-06-02 11:30:54 +00:00
|
|
|
status = 301
|
|
|
|
|
|
|
|
# EN | integration -> developer
|
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_EN/integration/*"
|
|
|
|
to=":SITE_EN/developer/:splat"
|
|
|
|
status = 301
|
2020-09-30 16:35:44 +00:00
|
|
|
|
|
|
|
|
2022-05-24 17:00:18 +00:00
|
|
|
####################
|
|
|
|
# Redirect following huge refacto in modele-social
|
|
|
|
##################""
|
2022-06-20 14:37:30 +00:00
|
|
|
|
2022-05-24 17:00:18 +00:00
|
|
|
# We redirect the 20 url with the most click in google search console
|
|
|
|
# to prevent negative impact on referencement
|
2021-03-18 12:15:07 +00:00
|
|
|
|
2022-05-24 17:00:18 +00:00
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/documentation/SMIC-temps-plein/net-imposable"
|
|
|
|
to=":SITE_FR/documentation/SMIC/net-imposable"
|
|
|
|
status=301
|
2021-03-18 12:15:07 +00:00
|
|
|
|
2018-12-10 14:13:14 +00:00
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/r%C3%A9mun%C3%A9ration/net-apr%C3%A8s-imp%C3%B4t"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/r%C3%A9mun%C3%A9ration/net/pay%C3%A9-apr%C3%A8s-imp%C3%B4t"
|
|
|
|
status=301
|
2018-12-10 14:13:14 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/frais-professionnels/transports-personnels/carburant-faible-%C3%A9mission/montant"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/r%C3%A9mun%C3%A9ration/frais-professionnels/trajets-domicile-travail/forfait-mobilit%C3%A9s-durables/montant"
|
|
|
|
status=301
|
2018-12-10 14:13:14 +00:00
|
|
|
|
2022-03-03 13:37:53 +00:00
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/contribution-d'%C3%A9quilibre-g%C3%A9n%C3%A9ral"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/cotisations/CEG"
|
|
|
|
status=301
|
2022-03-03 13:37:53 +00:00
|
|
|
|
2018-11-13 15:47:49 +00:00
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/contribution-d'%C3%A9quilibre-technique"
|
|
|
|
to=":SITE_FR/documentation/contrat/cotisations/CET"
|
|
|
|
status=301
|
2021-03-18 12:15:07 +00:00
|
|
|
|
2022-05-24 17:00:18 +00:00
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/prime-d'impatriation"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/r%C3%A9mun%C3%A9ration/net/imposable/exon%C3%A9ration-prime-d'impatriation"
|
|
|
|
status=301
|
2021-03-18 12:15:07 +00:00
|
|
|
|
2022-05-24 17:00:18 +00:00
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/r%C3%A9mun%C3%A9ration/net-imposable"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/r%C3%A9mun%C3%A9ration/net/imposable"
|
|
|
|
status=301
|
2021-03-18 12:15:07 +00:00
|
|
|
|
2022-05-24 17:00:18 +00:00
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/formation-professionnelle"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/cotisations/formation-professionnelle"
|
|
|
|
status=301
|
2021-03-18 12:15:07 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/participation-effort-de-construction"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/cotisations/PEEC"
|
|
|
|
status=301
|
2021-03-18 12:15:07 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/r%C3%A9mun%C3%A9ration/brut-de-base"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/contrat/salaire-brut"
|
|
|
|
status=301
|
2021-03-18 12:15:07 +00:00
|
|
|
|
2022-03-03 13:37:53 +00:00
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/CDD/indemnit%C3%A9-compensatrice-de-cong%C3%A9s-pay%C3%A9s"
|
|
|
|
to=":SITE_FR/documentation/contrat-salari%C3%A9/r%C3%A9mun%C3%A9ration/ind%C3%A9mnit%C3%A9s-CDD/cong%C3%A9s-pay%C3%A9s"
|
|
|
|
status=301
|
2022-03-03 13:37:53 +00:00
|
|
|
|
2021-03-18 12:15:07 +00:00
|
|
|
[[redirects]]
|
2022-05-24 17:00:18 +00:00
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/r%C3%A9mun%C3%A9ration/net"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/r%C3%A9mun%C3%A9ration/net/à-payer-avant-imp%C3%B4t"
|
|
|
|
status=301
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/CDD/*"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/contrat/CDD/:splat"
|
|
|
|
status=301
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/apprentissage/*"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/contrat/apprentissage/:splat"
|
|
|
|
status=301
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from=":SITE_FR/documentation/contrat-salari%C3%A9/*"
|
|
|
|
to=":SITE_FR/documentation/salari%C3%A9/:splat"
|
|
|
|
status=301
|