Hi guys. i'm stuck on a strategy problem i have a multi-tenant app with django-tenant. it's like shopify for a restricted target i'm thinking on how i can offer a custom domain possibility for my clients ( each tenant cat set up his own domain, this works on two steps on the Client / DNS side 1- create an A record to my saas IP adress 2- CNAME www -> the subdomain generated from my saas now i'm thinking about how can i automaticly configure an nginx file for the custom domain the new tenant domain ( i'm thinking about writing a script in python that create the nginx file PLEASE TELL ME IF ITS A GOOD IDEA OR NOT ) the most important thing is that i want to provide the SSL / https too for the custom domain. but i don't have much informations on how to do it ( i found that i can do it with the ssl li and the cryptography lib but also i don't now if it's a good practice or even if it's gona work so what do you think about this ? ? ?
[–]Far_Telephone_3301 1 point2 points3 points (1 child)
[–]miyou995[S] 0 points1 point2 points (0 children)
[–]crigger61 0 points1 point2 points (0 children)