How to implement TLS

Please include the name and standard paths for these config files. (Not everyone is using Linux for webservices)
Or just add: You can find the webservice config file by:
ps -ef | grep http
my output
nginx: master process /snap/maas/17913/usr/sbin/nginx -c /var/snap/maas/17913/http/nginx.conf
There is an include in this:
include /var/snap/maas/current/http/*.nginx.conf;
If I just add that in the rackd.nginx.conf before the standard server entry (with adapted paths for the certificate and proxy_params)

the ssl server gives “connection refused” after reload of maas.

So there is more needed to it.

suggestions welcome.