[TriLUG] Help with proxy setup

Ron Kelley rkelleyrtp at gmail.com
Tue Dec 3 16:37:20 EST 2013


Thanks again for the assist.  I have narrowed down the issue to the proxy_pass URL getting pushed to the back-end server.  When I navigate to certain pages that have a URL with the “?” mark, the nginx proxy server sees the request but does not push that to the back-end server.  For example:

Request seen on front-end proxy:
————
173.96.120.3 - - [03/Dec/2013:16:34:28 -0500] "GET /?page_id=458 HTTP/1.1" 200 8051 "http://www.test-site2.local/?page_id=317" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36" "-".36"


Request seen on back-end server:
————
172.16.0.11 - - [03/Dec/2013:16:34:26 -0500] "GET / HTTP/1.0" 200 8031 "http://www.test-site2.local/?page_id=317" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36" "173.95.129.3"

Notice the front-end proxy sees “Get /?page_id=458” and the back-end server just sees “GET /“  ?

It appears some part of the URL is just getting stripped out when sending the request to the back-end server.







On Dec 3, 2013, at 4:32 PM, Igor Partola <igor at igorpartola.com> wrote:

Interesting. And the CSS files are served off the same domain as their
respective WordPress installation? E.g.: if I request
http://example.com/wp-login/ then in the source of the page it will
reference http://example.com/wp-includes/.../style.css? or will it instead
do http://another-example-domain.com/wp-includes/.../style.css?

That could just be an issue with what WordPress thinks its name is.

Igor
-- 
This message was sent to: Ron Kelley <rkelleyrtp at gmail.com>
To unsubscribe, send a blank message to trilug-leave at trilug.org from that address.
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
Unsubscribe or edit options on the web	: http://www.trilug.org/mailman/options/trilug/rkelleyrtp%40gmail.com
Welcome to TriLUG: http://trilug.org/welcome



More information about the TriLUG mailing list