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 use mida.myapp.com
- Go 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 as mida
- You 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).
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article