Re: proxy_redirect can't be def'd in an include file; ok in main config?

On Tue, Jan 21, 2014, at 11:10 AM, Maxim D. wrote:

And it’s certainly a wrong list to write such questions. Thank
you for cooperation.

location / {

I get an error
location / {

Most likely, there are other uses of the “includes/varnish.conf”
include file in your config, and they cause error reported.

No, there aren’t. There is only one site enabled, and only one instance
of includes/varnish.conf, in that site config.

Hello!

On Tue, Jan 21, 2014 at 11:30:29AM -0800, [email protected] wrote:

On Tue, Jan 21, 2014 at 10:55:58AM -0800, [email protected] wrote:

}

the “proxy_pass” directive in
include includes/varnish.conf;

No, there aren’t. There is only one site enabled, and only one instance
of includes/varnish.conf, in that site config.

Sorry, but there are no reasons to trust your words more than
nginx code, at least till you provide full configuration to
reproduce what you claim see.

Please try checking again (an easy test is to just comment out
this particular “include” directive, while preserving
proxy_redirect line in the include file). If it doesn’t help,
please provide full configuration.


Maxim D.
http://nginx.org/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs