Skip to content

Instantly share code, notes, and snippets.

@kinoher
Created December 4, 2017 22:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kinoher/1d0e12efe873741485e5b06513916931 to your computer and use it in GitHub Desktop.
Save kinoher/1d0e12efe873741485e5b06513916931 to your computer and use it in GitHub Desktop.
2017/12/05 01:13:23 [debug] 25108#25108: *1 accept: 10.44.0.5:54734 fd:3
2017/12/05 01:13:23 [debug] 25108#25108: *1 event timer add: 3: 60000:1512425663071
2017/12/05 01:13:23 [debug] 25108#25108: *1 reusable connection: 1
2017/12/05 01:13:23 [debug] 25108#25108: *1 epoll add event: fd:3 op:1 ev:80002001
2017/12/05 01:13:23 [debug] 25108#25108: *1 http wait request handler
2017/12/05 01:13:23 [debug] 25108#25108: *1 malloc: 0000561166127B00:1024
2017/12/05 01:13:23 [debug] 25108#25108: *1 recv: eof:0, avail:1
2017/12/05 01:13:23 [debug] 25108#25108: *1 recv: fd:3 405 of 1024
2017/12/05 01:13:23 [debug] 25108#25108: *1 reusable connection: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 posix_memalign: 0000561166117500:4096 @16
2017/12/05 01:13:23 [debug] 25108#25108: *1 http process request line
2017/12/05 01:13:23 [debug] 25108#25108: *1 http request line: "GET /forum/index.php HTTP/1.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http uri: "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http args: ""
2017/12/05 01:13:23 [debug] 25108#25108: *1 http exten: "php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 posix_memalign: 000056116611D530:4096 @16
2017/12/05 01:13:23 [debug] 25108#25108: *1 http process request header line
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "Host: 10.44.0.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "Connection: keep-alive"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "Cache-Control: max-age=0"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "Upgrade-Insecure-Requests: 1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "DNT: 1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "Accept-Encoding: gzip, deflate"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header: "Accept-Language: ru"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http header done
2017/12/05 01:13:23 [debug] 25108#25108: *1 event timer del: 3: 1512425663071
2017/12/05 01:13:23 [debug] 25108#25108: *1 generic phase: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 rewrite phase: 1
2017/12/05 01:13:23 [debug] 25108#25108: *1 test location: "/"
2017/12/05 01:13:23 [debug] 25108#25108: *1 test location: "forum"
2017/12/05 01:13:23 [debug] 25108#25108: *1 test location: ~ "\.php$"
2017/12/05 01:13:23 [debug] 25108#25108: *1 using configuration "\.php$"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http cl:-1 max:1048576
2017/12/05 01:13:23 [debug] 25108#25108: *1 rewrite phase: 3
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script complex value
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: ""
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script set $path_info
2017/12/05 01:13:23 [debug] 25108#25108: *1 post rewrite phase: 4
2017/12/05 01:13:23 [debug] 25108#25108: *1 generic phase: 5
2017/12/05 01:13:23 [debug] 25108#25108: *1 generic phase: 6
2017/12/05 01:13:23 [debug] 25108#25108: *1 generic phase: 7
2017/12/05 01:13:23 [debug] 25108#25108: *1 access phase: 8
2017/12/05 01:13:23 [debug] 25108#25108: *1 access phase: 9
2017/12/05 01:13:23 [debug] 25108#25108: *1 access phase: 10
2017/12/05 01:13:23 [debug] 25108#25108: *1 post access phase: 11
2017/12/05 01:13:23 [debug] 25108#25108: *1 try files phase: 12
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 trying to use file: "/index.php" "/usr/share/cls/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 try file uri: "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http init upstream, client timer: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 epoll add event: fd:3 op:3 ev:80002005
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "PATH_INFO"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: ""
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "PATH_INFO: "
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "SCRIPT_FILENAME"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "/usr/share/cls"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "SCRIPT_FILENAME: /usr/share/cls/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "QUERY_STRING"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "QUERY_STRING: "
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "REQUEST_METHOD"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "GET"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "REQUEST_METHOD: GET"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "CONTENT_TYPE"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "CONTENT_TYPE: "
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "CONTENT_LENGTH"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "CONTENT_LENGTH: "
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "SCRIPT_NAME"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "SCRIPT_NAME: /forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "REQUEST_URI"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "REQUEST_URI: /forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "DOCUMENT_URI"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "DOCUMENT_URI: /forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "DOCUMENT_ROOT"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "/usr/share/cls"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "DOCUMENT_ROOT: /usr/share/cls"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "SERVER_PROTOCOL"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "HTTP/1.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "REQUEST_SCHEME"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "http"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "REQUEST_SCHEME: http"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: ""
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "GATEWAY_INTERFACE"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "CGI/1.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "SERVER_SOFTWARE"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "nginx/"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "1.12.2"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "SERVER_SOFTWARE: nginx/1.12.2"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "REMOTE_ADDR"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "10.44.0.5"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "REMOTE_ADDR: 10.44.0.5"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "REMOTE_PORT"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "54734"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "REMOTE_PORT: 54734"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "SERVER_ADDR"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "10.75.206.128"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "SERVER_ADDR: 10.75.206.128"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "SERVER_PORT"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "80"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "SERVER_PORT: 80"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "SERVER_NAME"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script var: "_"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "SERVER_NAME: _"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "REDIRECT_STATUS"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http script copy: "200"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "REDIRECT_STATUS: 200"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_HOST: 10.44.0.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_CONNECTION: keep-alive"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_CACHE_CONTROL: max-age=0"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_UPGRADE_INSECURE_REQUESTS: 1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_USER_AGENT: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_DNT: 1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_ACCEPT_ENCODING: gzip, deflate"
2017/12/05 01:13:23 [debug] 25108#25108: *1 fastcgi param: "HTTP_ACCEPT_LANGUAGE: ru"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http cleanup add: 000056116611E2B0
2017/12/05 01:13:23 [debug] 25108#25108: *1 get rr peer, try: 1
2017/12/05 01:13:23 [debug] 25108#25108: *1 stream socket 12
2017/12/05 01:13:23 [debug] 25108#25108: *1 epoll add connection: fd:12 ev:80002005
2017/12/05 01:13:23 [debug] 25108#25108: *1 connect to unix:/run/php/php7.0-fpm.sock, fd:12 #2
2017/12/05 01:13:23 [debug] 25108#25108: *1 connected
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream connect: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 posix_memalign: 00005611660FBFE0:128 @16
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream send request
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream send request body
2017/12/05 01:13:23 [debug] 25108#25108: *1 chain writer buf fl:0 s:896
2017/12/05 01:13:23 [debug] 25108#25108: *1 chain writer in: 000056116611E2F0
2017/12/05 01:13:23 [debug] 25108#25108: *1 writev: 896 of 896
2017/12/05 01:13:23 [debug] 25108#25108: *1 chain writer out: 0000000000000000
2017/12/05 01:13:23 [debug] 25108#25108: *1 event timer add: 12: 60000:1512425663071
2017/12/05 01:13:23 [debug] 25108#25108: *1 http finalize request: -4, "/forum/index.php?" a:1, c:2
2017/12/05 01:13:23 [debug] 25108#25108: *1 http request count:2 blk:0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http run request: "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream check client, write event:1, "/forum/index.php"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream request: "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream process header
2017/12/05 01:13:23 [debug] 25108#25108: *1 malloc: 000056116610D870:4096
2017/12/05 01:13:23 [debug] 25108#25108: *1 recv: eof:1, avail:1
2017/12/05 01:13:23 [debug] 25108#25108: *1 recv: fd:12 144 of 4096
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 01
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 07
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 01
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 17
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 01
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record length: 23
2017/12/05 01:13:23 [error] 25108#25108: *1 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 10.44.0.5, server: _, request: "GET /forum/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "10.44.0.1"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 01
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 06
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 01
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 51
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 07
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record length: 81
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi parser: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi header: "Status: 404 Not Found"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi parser: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi header: "Content-type: text/html; charset=UTF-8"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi parser: 1
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi header done
2017/12/05 01:13:23 [debug] 25108#25108: *1 posix_memalign: 00005611661004D0:4096 @16
2017/12/05 01:13:23 [debug] 25108#25108: *1 HTTP/1.1 404 Not Found
Server: nginx/1.12.2
Date: Mon, 04 Dec 2017 22:13:23 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
2017/12/05 01:13:23 [debug] 25108#25108: *1 write new buf t:1 f:0 0000561166100540, pos 0000561166100540, size: 177 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http write filter: l:0 f:0 s:177
2017/12/05 01:13:23 [debug] 25108#25108: *1 http cacheable: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream process upstream
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe read upstream: 1
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe preread: 39
2017/12/05 01:13:23 [debug] 25108#25108: *1 readv: eof:1, avail:0
2017/12/05 01:13:23 [debug] 25108#25108: *1 readv: 1, last:3952
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe recv chain: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe buf free s:0 t:1 f:0 000056116610D870, pos 000056116610D8D9, size: 39 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe length: -1
2017/12/05 01:13:23 [debug] 25108#25108: *1 input buf #0 000056116610D8D9
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 01
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 03
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 01
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 08
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record byte: 00
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi record length: 8
2017/12/05 01:13:23 [debug] 25108#25108: *1 http fastcgi sent end request
2017/12/05 01:13:23 [debug] 25108#25108: *1 input buf 000056116610D8D9 16
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe write downstream: 1
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe write downstream flush in
2017/12/05 01:13:23 [debug] 25108#25108: *1 http output filter "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http copy filter: "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http postpone filter "/forum/index.php?" 000056116611E500
2017/12/05 01:13:23 [debug] 25108#25108: *1 http chunk: 16
2017/12/05 01:13:23 [debug] 25108#25108: *1 write old buf t:1 f:0 0000561166100540, pos 0000561166100540, size: 177 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write new buf t:1 f:0 0000561166100838, pos 0000561166100838, size: 4 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write new buf t:1 f:0 000056116610D870, pos 000056116610D8D9, size: 16 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write new buf t:0 f:0 0000000000000000, pos 0000561164CA7AB6, size: 2 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http write filter: l:0 f:0 s:199
2017/12/05 01:13:23 [debug] 25108#25108: *1 http copy filter: 0 "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 pipe write downstream done
2017/12/05 01:13:23 [debug] 25108#25108: *1 event timer: 12, old: 1512425663071, new: 1512425663098
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream exit: 0000000000000000
2017/12/05 01:13:23 [debug] 25108#25108: *1 finalize http upstream request: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 finalize http fastcgi request
2017/12/05 01:13:23 [debug] 25108#25108: *1 free rr peer 1 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 close http upstream connection: 12
2017/12/05 01:13:23 [debug] 25108#25108: *1 free: 00005611660FBFE0, unused: 48
2017/12/05 01:13:23 [debug] 25108#25108: *1 event timer del: 12: 1512425663071
2017/12/05 01:13:23 [debug] 25108#25108: *1 reusable connection: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http upstream temp fd: -1
2017/12/05 01:13:23 [debug] 25108#25108: *1 http output filter "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http copy filter: "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http postpone filter "/forum/index.php?" 00007FFD7E82D010
2017/12/05 01:13:23 [debug] 25108#25108: *1 http chunk: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write old buf t:1 f:0 0000561166100540, pos 0000561166100540, size: 177 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write old buf t:1 f:0 0000561166100838, pos 0000561166100838, size: 4 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write old buf t:1 f:0 000056116610D870, pos 000056116610D8D9, size: 16 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write old buf t:0 f:0 0000000000000000, pos 0000561164CA7AB6, size: 2 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 write new buf t:0 f:0 0000000000000000, pos 0000561164CA7AB3, size: 5 file: 0, size: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 http write filter: l:1 f:0 s:204
2017/12/05 01:13:23 [debug] 25108#25108: *1 http write filter limit 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 writev: 204 of 204
2017/12/05 01:13:23 [debug] 25108#25108: *1 http write filter 0000000000000000
2017/12/05 01:13:23 [debug] 25108#25108: *1 http copy filter: 0 "/forum/index.php?"
2017/12/05 01:13:23 [debug] 25108#25108: *1 http finalize request: 0, "/forum/index.php?" a:1, c:1
2017/12/05 01:13:23 [debug] 25108#25108: *1 set http keepalive handler
2017/12/05 01:13:23 [debug] 25108#25108: *1 http close request
2017/12/05 01:13:23 [debug] 25108#25108: *1 http log handler
2017/12/05 01:13:23 [debug] 25108#25108: *1 free: 000056116610D870
2017/12/05 01:13:23 [debug] 25108#25108: *1 free: 0000561166117500, unused: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 free: 000056116611D530, unused: 0
2017/12/05 01:13:23 [debug] 25108#25108: *1 free: 00005611661004D0, unused: 2631
2017/12/05 01:13:23 [debug] 25108#25108: *1 free: 0000561166127B00
2017/12/05 01:13:23 [debug] 25108#25108: *1 hc free: 0000000000000000
2017/12/05 01:13:23 [debug] 25108#25108: *1 hc busy: 0000000000000000 0
# configuration file /etc/nginx/nginx.conf:
user www-data;
#group www-data;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
debug_connection 10.44.0.5;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
#gzip on;
include /etc/nginx/sites-enabled/*;
}
# configuration file /etc/nginx/mime.types:
types {
text/html html htm shtml;
text/css css;
text/xml xml;
image/gif gif;
image/jpeg jpeg jpg;
application/javascript js;
application/atom+xml atom;
application/rss+xml rss;
text/mathml mml;
text/plain txt;
text/vnd.sun.j2me.app-descriptor jad;
text/vnd.wap.wml wml;
text/x-component htc;
image/png png;
image/tiff tif tiff;
image/vnd.wap.wbmp wbmp;
image/x-icon ico;
image/x-jng jng;
image/x-ms-bmp bmp;
image/svg+xml svg svgz;
image/webp webp;
application/font-woff woff;
application/java-archive jar war ear;
application/json json;
application/mac-binhex40 hqx;
application/msword doc;
application/pdf pdf;
application/postscript ps eps ai;
application/rtf rtf;
application/vnd.apple.mpegurl m3u8;
application/vnd.ms-excel xls;
application/vnd.ms-fontobject eot;
application/vnd.ms-powerpoint ppt;
application/vnd.wap.wmlc wmlc;
application/vnd.google-earth.kml+xml kml;
application/vnd.google-earth.kmz kmz;
application/x-7z-compressed 7z;
application/x-cocoa cco;
application/x-java-archive-diff jardiff;
application/x-java-jnlp-file jnlp;
application/x-makeself run;
application/x-perl pl pm;
application/x-pilot prc pdb;
application/x-rar-compressed rar;
application/x-redhat-package-manager rpm;
application/x-sea sea;
application/x-shockwave-flash swf;
application/x-stuffit sit;
application/x-tcl tcl tk;
application/x-x509-ca-cert der pem crt;
application/x-xpinstall xpi;
application/xhtml+xml xhtml;
application/xspf+xml xspf;
application/zip zip;
application/octet-stream bin exe dll;
application/octet-stream deb;
application/octet-stream dmg;
application/octet-stream iso img;
application/octet-stream msi msp msm;
application/vnd.openxmlformats-officedocument.wordprocessingml.document docx;
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx;
application/vnd.openxmlformats-officedocument.presentationml.presentation pptx;
audio/midi mid midi kar;
audio/mpeg mp3;
audio/ogg ogg;
audio/x-m4a m4a;
audio/x-realaudio ra;
video/3gpp 3gpp 3gp;
video/mp2t ts;
video/mp4 mp4;
video/mpeg mpeg mpg;
video/quicktime mov;
video/webm webm;
video/x-flv flv;
video/x-m4v m4v;
video/x-mng mng;
video/x-ms-asf asx asf;
video/x-ms-wmv wmv;
video/x-msvideo avi;
}
# configuration file /etc/nginx/sites-enabled/default:
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
# Default server configuration
#
server {
listen 80 default_server;
listen [::]:80 default_server;
# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#
# Note: You should disable gzip for SSL traffic.
# See: https://bugs.debian.org/773332
#
# Read up on ssl_ciphers to ensure a secure configuration.
# See: https://bugs.debian.org/765782
#
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
#
# include snippets/snakeoil.conf;
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html index.php;
server_name _;
# this is sran gospodja its hack very bad
# this is sran gospodja its hack very bad
# location ~ /forum/\.php$ {
# include snippets/fastcgi-php.conf;
# # With php7.0-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php7.0-fpm:
# fastcgi_pass unix:/run/php/php7.0-fpm.sock;
#fastcgi_index index.php
#include fastcgi.conf;
# }
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php7.0-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php7.0-fpm:
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
#rewrite ^/$ /avreg/$1 redirect;
}
location /forum {
alias /usr/share/cls;
# include snippets/fastcgi-php.conf;
#
# # With php7.0-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php7.0-fpm:
# fastcgi_pass unix:/run/php/php7.0-fpm.sock;
try_files $uri $uri/ /forum/index.php?$query_string;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php7.0-cgi alone:
# fastcgi_pass 127.0.0.1:9000;
# # With php7.0-fpm:
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
}
#copy/paste for debug
location /log {
alias /var/log/nginx;
autoindex on;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
deny all;
}
}
# Virtual Host configuration for example.com
#
# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
#
#server {
# listen 80;
# listen [::]:80;
#
# server_name example.com;
#
# root /var/www/example.com;
# index index.html;
#
# location / {
# try_files $uri $uri/ =404;
# }
#}
# configuration file /etc/nginx/snippets/fastcgi-php.conf:
# regex to split $uri to $fastcgi_script_name and $fastcgi_path
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# Check that the PHP script exists before passing it
try_files $fastcgi_script_name =404;
# Bypass the fact that try_files resets $fastcgi_path_info
# see: http://trac.nginx.org/nginx/ticket/321
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_index index.php;
include fastcgi.conf;
# configuration file /etc/nginx/fastcgi.conf:
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REQUEST_SCHEME $scheme;
fastcgi_param HTTPS $https if_not_empty;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRECT_STATUS 200;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment