nelmio_cors:
    defaults:
        origin_regex: true
        allow_origin: ['http://procles.fr', 'http://procles.fr/test', 'https://procles.fr', 'https://procles.fr/test', 'http://91.165.198.152:4200']
        allow_methods: ['GET', 'OPTIONS', 'POST', 'PUT', 'PATCH', 'DELETE']
        allow_headers: ['Content-Type', 'Authorization']
        expose_headers: ['Link']
        max_age: 3600
    paths:
        '^/': ~
