Welcome! Log In Create A New Profile

Advanced

How to get THE original $request_uri ?

Posted by AnrDaemon 
How to get THE original $request_uri ?
August 26, 2018 07:06AM
Despite documentation claiming that `$request_uri` is a "full original request URI (with arguments)", nginx in reality reduces it to path+query only.
I see why it does that, for the configuration purposes, but for my use case, I'd like to pass an actual request URI to the backend.
Is there a way?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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