Hi @Jon_AK,
Traffic from the internet to our erp/website is not redirected to https and remains as non-secure but traffic from within the lan is redirected to secure.
For us, it is impossible to reproduce your problem, the best way is to use Failed Request Tracing, it will provide the key error and warning, which will help you to identify the problem. And you can see how the rules are used internally.
This link provide the method to enable failed request tracing to capture the detailed error:
https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules
In addition, you need to check your firewall and port forwarding settings to make sure your network firewall or router is properly configured to forward incoming internet traffic on port 80 (HTTP) and port 443 (HTTPS) to the appropriate internal IP address of your web server.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the email notification for this thread.
Best regards,
Yurong Dai