Managed Reverse Proxy

Created by Donald Ng, Modified on Mon, 2 Sep at 9:10 AM by Donald Ng

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:


Creating a managed reverse proxy

  1. Navigate to Mida organization - Reverse Proxy settings
  2. Enter a subdomain that you control. For example if you run Mida.so on myapp.com, you could use mida.myapp.com
  3. 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.
  4. 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.
  5. 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

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article