Bizarre? Logging: $variable_* vs $upstream_http_*

icqheretic nginx-forum at
Sun Nov 29 11:19:10 MSK 2009

If this is expected behavior how to I go about passing information when an internal redirect is involved between two different locations.

For example:

Location /u1 {
      set $remember $upstream_http_content_type;
      proxy_pass   ;
      error_page 404 403 = @error;


Location @error {
      # recall $remember here, perhaps for logging.

Posted at Nginx Forum:,26404,26405#msg-26405

More information about the nginx mailing list