Reverse Proxy Configuration for SAP Business One API Gateway Service To Overcome CORS Issue
When API Gateway service is used in the frontend web application there is a CORS issue to access the API Gateway Service as there is no option to enable CORS This blog post will guide you through the steps to configure Nginx reverse proxy for API Gateway Service to overcome the CORS issue Install Nginx Operating System: SUSE Linux Open a terminal window and enter the following to install Nginx: zypper install nginx Once the installation is finished use the below command to enable the Nginx: sudo systemctl enable nginx Below mentioned are the commands to start, stop and check the Nginx status: sudo systemctl start nginx Once the above command is used Nginx engine is started you can use http://<HOSTNAME / IP ADDRESS>:80 URL to check. You should see the below info on the web page sometimes you might also see 403 forbidden no need to worry! sudo systemctl stop nginx sudo systemctl status nginx Configuration Navigate to /etc/nginx/conf.d and create a file with .conf extension ...