Project

General

Profile

Wt Application Deployment on Windows with wt biult-in http server

Added by Boris Grinac about 1 month ago

Hello, I need a hint - is there a manual how to deploy a wt application in this scenario:
I plan to use wt application that listens on 8080, with some root path. I plan to use this internal path to configure windows IIS as proxy. The whole idea is that in this case I will use existing windows IIS server certificate for wt application alongside with other web applications on this server.
Question: is there a manual how to deploy wt application with IIS as proxy?


Replies (2)

RE: Wt Application Deployment on Windows with wt biult-in http server - Added by Matthias Van Ceulebroeck about 1 month ago

Hello Boris,

the only documentation I can find concerning Windows IIS is this page: https://redmine.emweb.be/projects/wt/wiki/ISAPI_on_Microsoft_IIS
This may be outdated, as we no longer update the Redmine wiki. Most of the concepts on it should still apply though. But it seems this is not what you are looking for.

If I'm not mistaken you plan to use IIS as a reverse proxy. Detecting a path like {host}/wt-application/some/path, and if the root path is valid, use the Wt backend and route the request to {host}:8080/some/path.
For this, you will need to take a look at trusted-proxy-config in the wt_config.xml file. You'll need to add the name of the header the proxy adds for the replacement of the `"Host" header and the IP(s) of the proxy.

Does that help you along enough? If not, please let me know.

Best,
Matthias

RE: Wt Application Deployment on Windows with wt biult-in http server - Added by Boris Grinac 27 days ago

Hello Matthias, thanks for the idea, I will work on this and I will publish the result.

    (1-2/2)