Welcome! Log In Create A New Profile

Advanced

Re: Nested location block for merging config returns 404?

January 21, 2014 08:40AM
I don't think it's a regex issue, because if I add an additional proxy_pass inside the nested location block, I then get a valid request. Additionally, any headers set inside the outer location block don't appear, but then if I duplicate them inside the nested location block, they then appear (just the once).

This basically means I'd have to duplicate anything in the outer location block in the nested one, which kind of defeats the purpose, and it's cleaner to have the separate same-level config.
Subject Author Posted

Nested location block for merging config returns 404?

WheresWardy January 21, 2014 08:29AM

Re: Nested location block for merging config returns 404?

Jonathan Matthews January 21, 2014 08:36AM

Re: Nested location block for merging config returns 404?

WheresWardy January 21, 2014 08:40AM

Re: Nested location block for merging config returns 404?

Jonathan Matthews January 21, 2014 08:50AM

Re: Nested location block for merging config returns 404?

WheresWardy January 21, 2014 08:59AM

Re: Nested location block for merging config returns 404?

Jonathan Matthews January 21, 2014 09:12AM

Re: Nested location block for merging config returns 404?

Valentin V. Bartenev January 21, 2014 11:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 175
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