Jump to content

nginx and reverse proxy


ep0ch

Recommended Posts

Posted

Hi there,

I thought I'd give the beta version of IPS a whirl in a setup similar to our production system.

Our setup goes like this:

example board url: https://www.ourtestsite.net/ips

So we have SSL going to our reverse proxy which then offloads various virtual directories to internal web sites.

A very cut down nginx config of the RP looks like:

upstream ips-backend {
        server localhost:8004;
 #this site hosts ips v4.0.0 beta
}

server {

        listen 443 ssl spdy;
        server_name www.ourtestsite.net;
        root /var/www;

   
        proxy_set_headers ....

        location /ips/ {
                rewrite ^/ips(/.*)$ $1 break;
                proxy_pass http://ips-backend;
        }

}

As much as i've tried, the 4.0.0 beta does not work under a proxy set up like this whereas v3 behaved much better. The main issue is when i look at the the page requests for the installer and installed sites (after some hacking) there are lots of requests to "/" rather than "/ips/".

Any ideas if there are some settings I can change to force it go and use /ips/ ?

Thanks

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...