Resolving Origin Exposure Issue on Dedicated Server hosted on Frappe Cloud

Hi,

I have a dedicated server hosted on frappe cloud on which I have created a bench group and my site. I have then added a custom domain as the primary domain for my site and redirected the default .frappe.cloud to my custom domain.

In order to comply with cyber security protocols which are currently showing origin exposed issue, I want to allow only Imperva IP ranges to be able to access port 443 and port 80 of my server.

Can anyone please guide me on what can be done.

Thanks

Hi @Aditi
This will be at the ERPNext level
Try User → Settings → Security Settings → Restrict IP

You may need to use ufw linux firewall rules at the server level

Lastly not sure how dedicated servers on frappe cloud are configured but nginx will need fine tunning also

I suggest you raise a support ticket and get the expert help you need