In most cases, when users enter the application's domain name proceeded either by HTTP or HTTPS, the exactly same content will be returned. However, if you have configured your application server to provide different content over HTTP and HTTPS protocols, the network settings on FortiWeb Cloud should be configured as instructed below to make this work.
In Network > Endpoints, or in the Network Settings step of the Add Application wizard, enable HTTP and HTTPS. Disable Redirect all HTTP traffic to HTTPS.
FortiWeb Cloud communicates with your application server over both HTTP and HTTPS protocols when there is only one origin server.
After the application is onboarded, Server Balance is enabled by default to apply load balancing algorithm to multiple servers. As only one server is allowed if you want FortiWeb Cloud to communicate with the origin server over both HTTP and HTTPS, you need to disable Server Balance.
- In Network > Origin Servers, click the Edit icon.
- Turn off Server Balance. Please note the existing origin servers will all be deleted. You can add one server later.
- Click OK.
Add a single server and specify the HTTP and HTTPS ports.
- In Network > Origin Servers, click Create Server.
- Refer to Origin Servers to configure server settings. Make sure to specify both HTTP and HTTPS port numbers. If you haven't disabled Server Balance, only one port is allowed to be configured on this page.
- Click OK.