nginx does not work

Francis Daly francis at
Sun Oct 11 10:01:52 UTC 2015

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;
>         }

You may be happier configuring webmin like it says on, section "Webmin In A Sub-Directory
Via A Proxy"; and then changing your nginx config to be more like

  location ^~ /webmin/ {

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,

Francis Daly        francis at

More information about the nginx mailing list