{
  {{#hasPortal}}
  "welcomeFile": "/cp.portal",
  {{/hasPortal}}
  "routes": [
    {{#hasMTXRoute}}
    {
      "source": "^/-/cds/.*",
      "destination": "mtx-api",
      "authenticationType": "none"
    },
    {{/hasMTXRoute}}
    {{#hasMTXRouteJava}}
    {
      "source": "^/mt/.*",
      "destination": "srv-api",
      "authenticationType": "none"
    },
    {{/hasMTXRouteJava}}
    {
      "source": "^/(.*)$",
      "target": "$1",
      "destination": "srv-api",
      "csrfProtection": true
    }
  ]
}
