Welcome! Log In Create A New Profile


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

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/ {

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@daoine.org

nginx mailing list
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: 345
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