CORS server

Hi guys.

I need a CORS server installed on my server but I am not sure how to do it, something like this https://corsproxy.github.io/

Is there anybody that knows how to do the installment of this stuff?

Any help is appreciate it.

Thank you.