Help: Using Nginx Reverse Proxy bypass traffic in to a application running in a container

Francis Daly francis at daoine.org
Mon Jun 28 18:15:40 UTC 2021


On Sun, Jun 06, 2021 at 02:14:33PM +0530, Amila Gunathilaka wrote:

Hi there,

> > The simplest-to-understand fix, assuming that this is a test system where
> you are happy to start again, is probably to stop nginx, remove the
> /var/lib/nginx/proxy/ directory and all of its
>    -  contents, create the directory again as the user that nginx runs as,
> and then start nginx.
> 
> I actually didn't have any  "proxy_cache" or  "proxy_cache_path" defined in
> my nginx.conf file but I did remove  /var/lib/nginx/proxy/ directory and
> re-create as you requested and yes now I'm not getting any
> permission-denied error or any error in the error.log file when I access
> the url.   So thank you for this !

Good that you no longer have that error message!

And also good that the other issues seem to be resolved too.

> All good now !!!  Thanks again for your immense help. 

You're welcome. I'm glad you have it working now.

It's simplest to keep the questions and answers on the list, where others
can benefit from them too.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org


More information about the nginx mailing list