--name=$OMNI_NAME--private-key-source=file:///omni.asc--advertised-api-url=https://$OMNI_DOMAIN/--bind-addr=127.0.0.1:8080--machine-api-bind-addr=127.0.0.1:8090--siderolink-api-advertised-url=https://api.$OMNI_DOMAIN:443--k8s-proxy-bind-addr=127.0.0.1:8100--advertised-kubernetes-proxy-url=https://kube.$OMNI_DOMAIN/--account-id=$OMNI_UUID--siderolink-use-grpc-tunnel=true## Also add the authentication flags according to your setup
Certificates
You can use acme or certbot to generate certificates for your domain. In the following nginx config, the are stored in /var/lib/acme/omni/ and /var/lib/acme/omni_api/ and /var/lib/acme/omni_kube/. Make sure to change the paths to your own or to output the certificates to those paths.
Nginx configuration
Use the following configuration to expose omni with nginx. Make sure to change the domain name ($OMNI_DOMAIN) to your own domain and to update the certificate paths if applicable.
The omni instance will be available at https://$OMNI_DOMAIN/, the API at https://api.$OMNI_DOMAIN/ and the kubernetes proxy at https://kube.$OMNI_DOMAIN/.