Hello,
I'm hosting a website on a windows server and below is my webserver configuration.
There's an issue when my website tries do redirect to the stripe checkout page, since the url that should be www.checkout.stripe.com/pay/cs_... becomes www.mysite.com/pay/cs_... which I suspect is because of the rule below.
Is there anyway that I can add an exception to this rule and allow www.checkout.stripe.com to not be redirected?
If that is no possibility, is there a chance that when I get redirected to the checkout I can add text before mysite url? This is because stripe allows me to do checkout with a custom domain and maybe I could do checkout.mysite.com if the first option is not possible.
I'm quite new to this so any help is much appreciated.
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="ReverseProxyInboundRule1" enabled="true" stopProcessing="true">
<match url="(.*)" />
<action type="Rewrite" url="http://localhost:8008/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Thank you