Rebuild config file with cors-allowed-origin directive