| 1 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http cl:686 max:26214400
|
|---|
| 2 | 2015/09/29 12:13:21 [debug] 8892#0: *4 rewrite phase: 3
|
|---|
| 3 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http client request body preread 486
|
|---|
| 4 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http request body content length filter
|
|---|
| 5 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http body new buf t:1 f:0 0000000001EF9D0A, pos 0000000001EF9D0A, size: 486 file: 0, size: 0
|
|---|
| 6 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http read client request body
|
|---|
| 7 | 2015/09/29 12:13:21 [debug] 8892#0: *4 SSL_read: 200
|
|---|
| 8 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http client request body recv 200
|
|---|
| 9 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http body old buf t:1 f:0 0000000001EF9D0A, pos 0000000001EF9D0A, size: 486 file: 0, size: 0
|
|---|
| 10 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http body new buf t:1 f:0 0000000001EFAD90, pos 0000000001EFAD90, size: 200 file: 0, size: 0
|
|---|
| 11 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http client request body rest 0
|
|---|
| 12 | 2015/09/29 12:13:21 [debug] 8892#0: *4 rewrite phase: 4
|
|---|
| 13 | 2015/09/29 12:13:21 [debug] 8892#0: *4 post rewrite phase: 5
|
|---|
| 14 | 2015/09/29 12:13:21 [debug] 8892#0: *4 generic phase: 6
|
|---|
| 15 | 2015/09/29 12:13:21 [debug] 8892#0: *4 generic phase: 7
|
|---|
| 16 | 2015/09/29 12:13:21 [debug] 8892#0: *4 generic phase: 8
|
|---|
| 17 | 2015/09/29 12:13:21 [debug] 8892#0: *4 access phase: 9
|
|---|
| 18 | 2015/09/29 12:13:21 [debug] 8892#0: *4 access: 040A160A 00000000 00000000
|
|---|
| 19 | 2015/09/29 12:13:21 [debug] 8892#0: *4 access phase: 10
|
|---|
| 20 | 2015/09/29 12:13:21 [debug] 8892#0: *4 access phase: 11
|
|---|
| 21 | 2015/09/29 12:13:21 [debug] 8892#0: *4 auth request handler
|
|---|
| 22 | 2015/09/29 12:13:21 [debug] 8892#0: *4 posix_memalign: 0000000001EFBBB0:4096 @16
|
|---|
| 23 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http subrequest "/auth?"
|
|---|
| 24 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http posted request: "/auth?"
|
|---|
| 25 | 2015/09/29 12:13:21 [debug] 8892#0: *4 rewrite phase: 1
|
|---|
| 26 | 2015/09/29 12:13:21 [debug] 8892#0: *4 test location: "/permission-denied"
|
|---|
| 27 | 2015/09/29 12:13:21 [debug] 8892#0: *4 test location: "/auth"
|
|---|
| 28 | 2015/09/29 12:13:21 [debug] 8892#0: *4 using configuration "=/auth"
|
|---|
| 29 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http cl:686 max:26214400
|
|---|
| 30 | 2015/09/29 12:13:21 [debug] 8892#0: *4 rewrite phase: 3
|
|---|
| 31 | 2015/09/29 12:13:21 [debug] 8892#0: *4 rewrite phase: 4
|
|---|
| 32 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var
|
|---|
| 33 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script if
|
|---|
| 34 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script if: false
|
|---|
| 35 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var
|
|---|
| 36 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var: "Token RANDOMSESSIONID"
|
|---|
| 37 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script if
|
|---|
| 38 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script complex value
|
|---|
| 39 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var: "Token RANDOMSESSIONID"
|
|---|
| 40 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script set $app_auth
|
|---|
| 41 | 2015/09/29 12:13:21 [debug] 8892#0: *4 post rewrite phase: 5
|
|---|
| 42 | 2015/09/29 12:13:21 [debug] 8892#0: *4 generic phase: 6
|
|---|
| 43 | 2015/09/29 12:13:21 [debug] 8892#0: *4 generic phase: 7
|
|---|
| 44 | 2015/09/29 12:13:21 [debug] 8892#0: *4 generic phase: 8
|
|---|
| 45 | 2015/09/29 12:13:21 [debug] 8892#0: *4 try files phase: 13
|
|---|
| 46 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http init upstream, client timer: 0
|
|---|
| 47 | 2015/09/29 12:13:21 [debug] 8892#0: *4 epoll add event: fd:147 op:3 ev:80002005
|
|---|
| 48 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var: "127.0.0.1"
|
|---|
| 49 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var: "mylocalhostname"
|
|---|
| 50 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var: "Token RANDOMSESSIONID"
|
|---|
| 51 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http cache key: "127.0.0.1mylocalhostnameToken RANDOMSESSIONID"
|
|---|
| 52 | 2015/09/29 12:13:21 [debug] 8892#0: *4 add cleanup: 0000000001EFC6F8
|
|---|
| 53 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http file cache exists: -5 e:0
|
|---|
| 54 | 2015/09/29 12:13:21 [debug] 8892#0: *4 cache file: "/var/cache/nginx/proxyCacheAuth/RANDOMCACHEFILENAME"
|
|---|
| 55 | 2015/09/29 12:13:21 [debug] 8892#0: *4 add cleanup: 0000000001EFC758
|
|---|
| 56 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream cache: -5
|
|---|
| 57 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: "Authorize: "
|
|---|
| 58 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var: "Token RANDOMSESSIONID"
|
|---|
| 59 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: "
|
|---|
| 60 | "
|
|---|
| 61 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: "Host: "
|
|---|
| 62 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script var: "mylocalhostname"
|
|---|
| 63 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: "
|
|---|
| 64 | "
|
|---|
| 65 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: "Connection: close
|
|---|
| 66 | "
|
|---|
| 67 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: ""
|
|---|
| 68 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: ""
|
|---|
| 69 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: ""
|
|---|
| 70 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: ""
|
|---|
| 71 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: ""
|
|---|
| 72 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http script copy: ""
|
|---|
| 73 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy header:
|
|---|
| 74 | "GET /random/url HTTP/1.1
|
|---|
| 75 | Authorize: Token RANDOMSESSIONID
|
|---|
| 76 | Host: mylocalhostname
|
|---|
| 77 | Connection: close
|
|---|
| 78 |
|
|---|
| 79 | "
|
|---|
| 80 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http cleanup add: 0000000001EFC920
|
|---|
| 81 | 2015/09/29 12:13:21 [debug] 8892#0: *4 get rr peer, try: 2
|
|---|
| 82 | 2015/09/29 12:13:21 [debug] 8892#0: *4 get rr peer, current: 0 -1
|
|---|
| 83 | 2015/09/29 12:13:21 [debug] 8892#0: *4 socket 148
|
|---|
| 84 | 2015/09/29 12:13:21 [debug] 8892#0: *4 epoll add connection: fd:148 ev:80002005
|
|---|
| 85 | 2015/09/29 12:13:21 [debug] 8892#0: *4 connect to 127.0.0.1:8080, fd:148 #5
|
|---|
| 86 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream connect: -2
|
|---|
| 87 | 2015/09/29 12:13:21 [debug] 8892#0: *4 posix_memalign: 0000000001A5A8D0:128 @16
|
|---|
| 88 | 2015/09/29 12:13:21 [debug] 8892#0: *4 event timer add: 148: 60000:1443521661601
|
|---|
| 89 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http finalize request: -4, "/auth?" a:1, c:3
|
|---|
| 90 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http request count:3 blk:0
|
|---|
| 91 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http run request: "/auth?"
|
|---|
| 92 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream check client, write event:1, "/auth"
|
|---|
| 93 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream recv(): -1 (11: Resource temporarily unavailable)
|
|---|
| 94 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream request: "/auth?"
|
|---|
| 95 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream send request handler
|
|---|
| 96 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream send request
|
|---|
| 97 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream send request body
|
|---|
| 98 | 2015/09/29 12:13:21 [debug] 8892#0: *4 chain writer buf fl:1 s:156
|
|---|
| 99 | 2015/09/29 12:13:21 [debug] 8892#0: *4 chain writer in: 0000000001EFC958
|
|---|
| 100 | 2015/09/29 12:13:21 [debug] 8892#0: *4 writev: 156 of 156
|
|---|
| 101 | 2015/09/29 12:13:21 [debug] 8892#0: *4 chain writer out: 0000000000000000
|
|---|
| 102 | 2015/09/29 12:13:21 [debug] 8892#0: *4 event timer del: 148: 1443521661601
|
|---|
| 103 | 2015/09/29 12:13:21 [debug] 8892#0: *4 event timer add: 148: 60000:1443521661602
|
|---|
| 104 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream request: "/auth?"
|
|---|
| 105 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream process header
|
|---|
| 106 | 2015/09/29 12:13:21 [debug] 8892#0: *4 malloc: 0000000001F01410:4096
|
|---|
| 107 | 2015/09/29 12:13:21 [debug] 8892#0: *4 recv: fd:148 131 of 3871
|
|---|
| 108 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy status 401 "401 Unauthorized"
|
|---|
| 109 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy header: "Server: XXX"
|
|---|
| 110 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy header: "Date: Tue, 29 Sep 2015 10:13:21 GMT"
|
|---|
| 111 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy header: "Content-Length: 0"
|
|---|
| 112 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy header: "Connection: close"
|
|---|
| 113 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy header done
|
|---|
| 114 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http file cache set header
|
|---|
| 115 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http cacheable: 1
|
|---|
| 116 | 2015/09/29 12:13:21 [debug] 8892#0: *4 posix_memalign: 0000000001F02420:4096 @16
|
|---|
| 117 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http proxy filter init s:401 h:0 c:0 l:0
|
|---|
| 118 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream process upstream
|
|---|
| 119 | 2015/09/29 12:13:21 [debug] 8892#0: *4 pipe read upstream: 1
|
|---|
| 120 | 2015/09/29 12:13:21 [debug] 8892#0: *4 pipe preread: 0
|
|---|
| 121 | 2015/09/29 12:13:21 [debug] 8892#0: *4 readv: 1, last:3740
|
|---|
| 122 | 2015/09/29 12:13:21 [debug] 8892#0: *4 pipe recv chain: 0
|
|---|
| 123 | 2015/09/29 12:13:21 [debug] 8892#0: *4 pipe buf free s:0 t:1 f:0 0000000001F01410, pos 0000000001F01574, size: 0 file: 0, size: 0
|
|---|
| 124 | 2015/09/29 12:13:21 [debug] 8892#0: *4 pipe length: 0
|
|---|
| 125 | 2015/09/29 12:13:21 [debug] 8892#0: *4 pipe write chain
|
|---|
| 126 | 2015/09/29 12:13:21 [debug] 8892#0: *4 add cleanup: 0000000001EFCB88
|
|---|
| 127 | 2015/09/29 12:13:21 [debug] 8892#0: *4 hashed path: /var/cache/nginx/proxy_temp/1/00/0000000001
|
|---|
| 128 | 2015/09/29 12:13:21 [debug] 8892#0: *4 temp fd:149
|
|---|
| 129 | 2015/09/29 12:13:21 [debug] 8892#0: *4 write: 149, 0000000001F01410, 356, 0
|
|---|
| 130 | 2015/09/29 12:13:21 [debug] 8892#0: *4 pipe write downstream: 1
|
|---|
| 131 | 2015/09/29 12:13:21 [debug] 8892#0: *4 event timer del: 148: 1443521661602
|
|---|
| 132 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http file cache update
|
|---|
| 133 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http file cache rename: "/var/cache/nginx/proxy_temp/1/00/0000000001" to "/var/cache/nginx/proxyCacheAuth/RANDOMCACHEFILENAME"
|
|---|
| 134 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream exit: 0000000000000000
|
|---|
| 135 | 2015/09/29 12:13:21 [debug] 8892#0: *4 finalize http upstream request: 0
|
|---|
| 136 | 2015/09/29 12:13:21 [debug] 8892#0: *4 finalize http proxy request
|
|---|
| 137 | 2015/09/29 12:13:21 [debug] 8892#0: *4 free rr peer 2 0
|
|---|
| 138 | 2015/09/29 12:13:21 [debug] 8892#0: *4 close http upstream connection: 148
|
|---|
| 139 | 2015/09/29 12:13:21 [debug] 8892#0: *4 free: 0000000001A5A8D0, unused: 48
|
|---|
| 140 | 2015/09/29 12:13:21 [debug] 8892#0: *4 reusable connection: 0
|
|---|
| 141 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http upstream temp fd: 149
|
|---|
| 142 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http finalize request: 0, "/auth?" a:1, c:2
|
|---|
| 143 | 2015/09/29 12:13:21 [debug] 8892#0: *4 auth request done s:401
|
|---|
| 144 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http wake parent request: "/myapp?"
|
|---|
| 145 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http posted request: "/myapp?"
|
|---|
| 146 | 2015/09/29 12:13:21 [debug] 8892#0: *4 http request empty handler
|
|---|
| 147 | 2015/09/29 12:13:25 [debug] 8892#0: *4 http run request: "/myapp?"
|
|---|
| 148 | 2015/09/29 12:13:25 [debug] 8892#0: *4 http reading blocked
|
|---|
| 149 | 2015/09/29 12:13:25 [debug] 8892#0: *4 http run request: "/myapp?"
|
|---|
| 150 | 2015/09/29 12:13:25 [debug] 8892#0: *4 http request empty handler |
|---|