2019-01-23 18:04:22 +01:00
|
|
|
|
|
|
|
|
2019-01-31 17:24:57 +01:00
|
|
|
# InFrance PRODUCTION settings
|
2018-10-18 16:36:30 +02:00
|
|
|
|
2019-01-07 13:32:02 +01:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://www.mycompanyinfrance.fr/*"
|
2019-01-07 13:41:22 +01:00
|
|
|
to = "https://mycompanyinfrance.fr/:splat"
|
2019-01-07 13:32:02 +01:00
|
|
|
status = 301
|
|
|
|
|
2018-08-24 17:53:56 +02:00
|
|
|
[[redirects]]
|
2018-10-18 16:36:30 +02:00
|
|
|
from = "https://mycompanyinfrance.fr/robots.txt"
|
|
|
|
to = "/robots.infrance.txt"
|
2018-08-24 18:05:16 +02:00
|
|
|
status = 200
|
2018-08-24 17:53:56 +02:00
|
|
|
|
2018-10-26 13:25:40 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://mycompanyinfrance.fr/sitemap.txt"
|
2018-11-13 16:47:49 +01:00
|
|
|
to = "/sitemap.infrance.en.txt"
|
2018-10-26 13:25:40 +02:00
|
|
|
status = 200
|
|
|
|
|
2018-07-26 16:48:36 +02:00
|
|
|
[[redirects]]
|
2018-10-18 16:36:30 +02:00
|
|
|
from = "https://mycompanyinfrance.fr"
|
|
|
|
to = "/prerender/infrance/index.html"
|
2018-07-26 17:32:14 +02:00
|
|
|
status = 200
|
|
|
|
|
2018-09-07 11:58:09 +02:00
|
|
|
[[redirects]]
|
2018-11-13 16:47:49 +01:00
|
|
|
from = "https://mycompanyinfrance.fr/social-security"
|
2018-10-18 16:36:30 +02:00
|
|
|
to = "/prerender/infrance/social-security/index.html"
|
2018-09-07 11:58:09 +02:00
|
|
|
status = 200
|
|
|
|
|
2018-07-26 17:32:14 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://mycompanyinfrance.fr/*"
|
2018-07-26 16:53:58 +02:00
|
|
|
to = "/infrance.html"
|
|
|
|
status = 200
|
2018-08-08 11:23:06 +02:00
|
|
|
|
2018-12-10 15:13:14 +01:00
|
|
|
# Mon-entreprise.fr PRODUCTION settings
|
2019-02-22 17:51:13 +01:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/stats"
|
|
|
|
to = "https://branched-trunk.glitch.me/"
|
|
|
|
status = 200
|
|
|
|
|
2018-12-10 15:13:14 +01:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/robots.txt"
|
|
|
|
to = "/robots.infrance.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/sitemap.txt"
|
|
|
|
to = "/sitemap.infrance.fr.txt"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr"
|
|
|
|
to = "/prerender/mon-entreprise/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "https://mon-entreprise.fr/*"
|
|
|
|
to = "/mon-entreprise.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
2018-10-18 16:36:30 +02:00
|
|
|
# Embauche PRODUCTION settings
|
2018-09-07 11:58:09 +02:00
|
|
|
|
2018-08-10 08:30:44 +02:00
|
|
|
[[redirects]]
|
2019-04-17 18:56:09 +02:00
|
|
|
from = "https://embauche.beta.gouv.fr/"
|
|
|
|
to = "https://mon-entreprise.fr/sécurité-sociale/salarié"
|
|
|
|
status = 301
|
2018-09-07 11:58:09 +02:00
|
|
|
|
2019-01-31 17:24:57 +01:00
|
|
|
[[redirects]]
|
2019-04-17 18:56:09 +02:00
|
|
|
from = "https://embauche.beta.gouv.fr/documentation/*"
|
|
|
|
to = "https://mon-entreprise.fr/documentation/:splat"
|
|
|
|
status = 301
|
2019-01-31 17:24:57 +01:00
|
|
|
|
2018-10-18 16:36:30 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "https://embauche.beta.gouv.fr/"
|
2019-04-17 18:56:09 +02:00
|
|
|
to = "https://mon-entreprise.fr/sécurité-sociale/salarié"
|
|
|
|
status = 301
|
2018-10-18 16:36:30 +02:00
|
|
|
|
2019-04-17 18:56:09 +02:00
|
|
|
# Old iframe adresse
|
2018-08-08 11:23:06 +02:00
|
|
|
[[redirects]]
|
2019-04-17 18:56:09 +02:00
|
|
|
from = "https://embauche.beta.gouv.fr/modules/v2/*"
|
|
|
|
to = "/:splat"
|
2018-08-08 13:16:43 +02:00
|
|
|
|
2019-04-17 18:56:09 +02:00
|
|
|
# When in iframe, we don't prerender the page
|
2018-10-18 16:36:30 +02:00
|
|
|
[[redirects]]
|
2019-04-17 18:56:09 +02:00
|
|
|
from = "https://embauche.beta.gouv.fr/"
|
|
|
|
query = {iframe=":iframe", s=":e", couleur=":couleur", integratorUrl=":integratorUrl", lang=":lang"}
|
|
|
|
to = "/embauche.html?iframe=:iframe&s=:e&couleur=:couleur&integratorUrl=:integratorUrl&lang=:lang"
|
2018-10-18 16:36:30 +02:00
|
|
|
status = 200
|
|
|
|
|
2018-08-08 13:16:43 +02:00
|
|
|
|
2018-11-13 16:47:49 +01:00
|
|
|
# Redirect to mycompanyinfrance in staging and development settings
|
2018-10-18 16:36:30 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "/"
|
2018-11-13 16:47:49 +01:00
|
|
|
query = {s = "m"}
|
2018-10-18 16:36:30 +02:00
|
|
|
to = "/prerender/infrance/index.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
2018-08-08 13:16:43 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
2018-11-13 16:47:49 +01:00
|
|
|
query = {s = "m"}
|
2018-08-08 13:16:43 +02:00
|
|
|
to = "/infrance.html"
|
|
|
|
status = 200
|
2018-11-13 16:47:49 +01:00
|
|
|
|
|
|
|
# Redirect to mon-entreprise in staging and development settings
|
|
|
|
[[redirects]]
|
|
|
|
from = "/"
|
|
|
|
to = "/prerender/mon-entreprise/index.html"
|
|
|
|
status = 200
|
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
|
|
|
to = "/mon-entreprise.html"
|
|
|
|
status = 200
|
|
|
|
|
|
|
|
|
|
|
|
[context.deploy-preview.environment]
|
2018-11-15 12:16:09 +01:00
|
|
|
EN_SITE = "${path}?s=m"
|
|
|
|
FR_SITE = "${path}"
|
2018-11-13 16:47:49 +01:00
|
|
|
|
|
|
|
[context.production.environment]
|
2018-11-15 12:16:09 +01:00
|
|
|
EN_SITE = "https://mycompanyinfrance.fr${path}"
|
2018-12-10 15:13:14 +01:00
|
|
|
FR_SITE = "https://mon-entreprise.fr${path}"
|
2019-04-10 17:37:29 +02:00
|
|
|
MASTER = 'true'
|
2019-02-12 19:20:04 +01:00
|
|
|
|
|
|
|
[context."demo"]
|
|
|
|
EN_SITE = "https://demo.mon-entreprise.fr${path}?s=m"
|
|
|
|
FR_SITE = "https://demo.mon-entreprise.fr${path}"
|