Skip to content
  • Grazyna Jaworska's avatar
    Nginx: Don't strip $args from $request_uri in redirects · ac0c8b9b
    Grazyna Jaworska authored
    It is important to use $request_uri, because it allows you to send HTTPS redirect with original URI (and $args, if you skip "?"), while $uri can be potentially modified, even theoretically, because it is $request_uri after internal rewrites, if present in the configuration.
    ac0c8b9b