Set X-Frame-Options http header when running mendix app locally
I want to add below http header to my mendix app Header always append X-Frame-Options SAMEORIGIN Can someone help me how to add above when running app locally on desktop modeler?
Mohan Reddy Kathireddy
In a production-grade deployment, this header would be added by a web server like NGINX or IIS. By default, your local desktop modeler does not have a web server in front of it, so you cannot add this header.
If you really need this locally, I’d recommend setting up IIS as you would in a Windows deployment here. Then you can configure IIS to add this header as discussed here.