Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
note about loopback
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-leonov committed May 24, 2010
1 parent e3fd113 commit 56a1fcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,7 @@ The callback itself is very interesting part:

The callback takes three parameters: subrequest (`sr`) in which context it was invoked, the response body data (`body`) and the subrequest “result code” (`rc`). The last one is an internal nginx code and now is used for test purposes only.

This is a good idea to issue a subrequest throug the `proxy_passs` even to the nginx itself. This trick helps to deal with other modules in cost of establishing a loopback connection from nginx to nginx itself.

In nginx.conf:

Expand Down

0 comments on commit 56a1fcb

Please sign in to comment.