Https Setup
If you are deploying OneDev into Kubernetes, there is a section LetsEncrypt Setup explaining how to do this via LetsEncrypt. For all other cases, you will need to set up reverse proxy and then configure https for the front end.
You will need to configure OneDev to trust the certificate in case it is not issued by well-known CA.