07-31-2018, 04:59 PM
(07-23-2018, 07:36 AM)ccy Wrote: Usually, configure nginx reverse proxy is easy and straight forward, but I couldn't get it work with IntraWeb application.
For example, I wish to access IntraWeb applicaton from URL http://www.example.com/intraweb
The Intraweb application is accessible from http://10.1.1.1:8888/
Here is my nginx configuration:
location /intraweb {
proxy_pass http://10.1.1.1:8888$request_uri;
proxy_set_header Host 10.1.1.1:8888;
}
But it doesn't work. Is there any setting I need to configure in IntraWeb?
Hello,
are JNP mentioned, you need to set RewriteUrl property. Please have a look at item 4 of this document:
http://docs.atozed.com/docs.dll/deployme...Proxy.html
You can also find some example code to retrieve this from an .INI file. Most reverse proxy servers work the same way.
A side note: If you are using reverse proxy in HTTPS and your IW application is plain HTTP you can (or should) also set
"X-Forwarded-Ssl: on" header field
in your nginx server, so IW will work as HTTPS