Hi i have this configuration for NelmioCorsBundle in Symfony framework:

```
nelmio_cors:
    paths:
        '^/note/':
            allow_origin: ['*']
            allow_headers: ['X-Custom-Auth']
            allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
            max_age: 3600

```

I still get **No 'Access-Control-Allow-Origin' header is present on the requested resource.** 

I made two virtual hosts on my local machine one virtual host is client, other virtual host is restAPI.

Please help.