Mida.so's managed reverse proxy service enables you to route traffic through Mida.so's infrastructure, simplifying the deployment and management of your Mida.so reverse proxy.
This guide will walk you through the setup and configuration process.
Prerequisites
Before setting up the managed reverse proxy, ensure you have the following:
A Mida.so Enterprise Plan
Access to your domain's DNS settings.
Creating a managed reverse proxy
Navigate to Mida organization - Reverse Proxy settings
Enter a subdomain that you control. For example if you run Mida.so on
myapp.com, you could usemida.myapp.comGo to your DNS provider and create a new CNAME record:
The
@or target should be set to the subdomain you chose in the previous step, such asmidaYou will be shown a domain to use as the CNAME value when creating the record, enter the value as
mida-so-fcg0cad8g3dadufu.z02.azurefd.net.
Wait for the proxy to be created. You will receive an email when it is ready. There is no further action required after creating the DNS record.
Update your Mida.so snippet to use the subdomain chosen in step 3 as the
md_cdn.
Implementation before reverse proxy:
<script src="https://cdn.mida.so/js/optimize.js?key=XXXXXX" />
Implementation after reverse proxy:
<script> window.md_cdn = 'https://mida.myapp.com' </script> <script src="https://mida.myapp.com/js/optimize.js?key=XXXXXX" />
Setting DNS records in Cloudflare
If you are using Cloudflare as your DNS provider, please ensure you have disabled proxying on the CNAME record (DNS only).
