CORS configuration
You can add CORS rules for clients that need to access the inference service and the management service. Both can be defined when running the balancer.
Adding CORS rules for the inference service
To add hosts that need to be able to access the inference service, run the balancer with the --inference-cors-allowed-host
flag, followed by the host's address, for example:
You can add multiple hosts by repeating the --inference-cors-allowed-host
flag.
Adding CORS rules for the management service
To add hosts that need to be able to access the management service, run the balancer with the --management-cors-allowed-host
flag, followed by the host's address, for example:
Just like with the inference service, you can add multiple hosts by repeating the --management-cors-allowed-host
flag.