Welcome! Log In Create A New Profile

Advanced

Re: nginx does not work

Francis Daly
October 11, 2015 06:04AM
On Sun, Oct 11, 2015 at 04:23:56AM -0400, DocMAX wrote:

Hi there,

> my reverse proxy is not working with webmin. css is not resolved.

What is the url of one css file that you wish to have resolved but which
is not resolved?

My suspicion is that it does not start with "/webmin", and so it will
not be handled in your proxy_pass location.

> location ^~ /webmin {
> proxy_pass http://192.168.1.5:10000/;
> }

You may be happier configuring webmin like it says on
http://www.webmin.com/apache.html, section "Webmin In A Sub-Directory
Via A Proxy"; and then changing your nginx config to be more like

location ^~ /webmin/ {
proxy_pass http://192.168.1.5:10000;
}

It is always fiddly to reverse-proxy something at a different place in the
url tree than it expects to be; so if the something has a config feature
to make it unnecessary to do so, it is usually good to make use of that.

Good luck with it,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx does not work

DocMAX October 11, 2015 04:23AM

Re: nginx does not work

Francis Daly October 11, 2015 06:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 183
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready