I'm trying to install Mibew behind nginx working as a proxy. In my setup both nginx and Apache (which is used for mibew) are installed at the same server. Apache listens to port 8080 and nginx listens to port 80. Here are configs (don't think they are usefull but so):
I'm trying to install Mibew behind nginx working as a proxy. In my setup both nginx and Apache (which is used for mibew) are installed at the same server. Apache listens to port
8080
and nginx listens to port80
. Here are configs (don't think they are usefull but so):Apache:
nginx:
The problem is Mibew generates all URLs in absolute format with
8000
port instead of80
. Here is an example of a URL:And here is what I expect to get:
Or even (keeping in mind that
80
is default HTTP port):Of course URLs started with
http://example.com:8000
cannot be served properly because only80
port is available from outside of the server.