Swagger is not working on environments.

0
Hello, We encounter an issue while testing our published REST API using Swagger. The browser returns the following error: Fetch error: Possible mixed-content issue? The page was loaded over https:// but a http:// URL was specified. Check that you are not attempting to load mixed content. Could someone please assist us in resolving this issue? Thank you in advance.
asked
2 answers
0

How do you host your app? It looks like the issue could be related to a reverse proxy.

answered
0

If you use On-premise deployment on Windows, fronted by IIS, follow these steps exactly, It worked for me:

https://docs.mendix.com/developerportal/deploy/deploy-mendix-on-microsoft-windows/#rule-add-x-forwarded-proto-header

answered