Wyn Enterprise: Deploying with a Reverse Proxy

You can use IIS as reverse proxy to deploy Wyn Enterprise with HTTPS.

  1. Install Wyn Enterprise.
  2. In Control Panel, open Administrative Tools > Internet Information Services (IIS) Manager.
  3. In IIS Manager, in the left pane under Actions, select Wyn Enterprise server and click the Create Self-Signed Certificate.. to create a self-signed https certificate.

  4. In the Create Self-Signed Certificate dialog, choose the following options and click OK.

  5. Create a website in IIS, use https as the binding type.

  6. To install the Web Platform Installer, you can download the installer from here: https://www.iis.net/downloads/microsoft/web-platform-installer.

  7. Run the Web Platform Installer and install the URL Rewrite model and the Application Request Routing model. For that, first search for URL Rewrite and click Add.

  8. Search for Application Request Routing and click Add.

  9. Click Install and I Accept in the Web Platform Installer.

  10. In the IIS Manager, add reverse proxy. To do that, select URL Rewrite.

  11. In the left pane under Actions, select Add Rule(s)... for URL Rewrite.

  12. Enter the server name in the Add Reverse Proxy Rules dialog.

  13. In the left pane under Actions, click View Server Variables.. to add server variables 'HTTP_X_FORWARDED_HOST' and 'HTTP_X_FORWARDED_PROTO'.

  14. In the left pane under Actions, click Add..
  15. In the Add Server Variable dialog, enter the name HTTP_X_FORWARDED_HOST and click OK.

  16. To add the second server variable, in the left pane under Actions, click Add.. and enter the name HTTP_X_FORWARDED_PROTO in the Add Server Variable dialog. Click OK.

  17. To edit the reverse proxy, select the ReverseProxyUnboundRule1 and, in the left pane under Unbound Rules, click Edit.

  18. To set the value of server variables, under Server Variables, click Add...

  19. In the Set Server Variable dialog, set the value for HTTP_X_FORWARDED_HOST as in the screenshot below and click OK.

  20. Under Server Variables, click Add.. again.

  21. In the Set Server Variable dialog, set the value for HTTP_X_FORWARDED_PROTO as shown in the screenshot and click OK.
  22. In the left pane under Actions, click Apply.

  23. Modify the configuration file as shown below.

  24. Restart the Wyn Service.
    Now you can visit the Portal page at the following URL: http://wyn-on-iis.grapecity.net.