Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.63 KB | None | 0 0
  1. nginx version: nginx/1.8.0
  2.  
  3. PHP 5.5.9-1ubuntu4.20 (fpm-fcgi) (built: Oct 3 2016 13:03:22)
  4. Copyright (c) 1997-2014 The PHP Group
  5. Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
  6. with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
  7.  
  8. server {
  9. listen 80;
  10.  
  11. root /var/www/domain.com/html;
  12. index index.php;
  13.  
  14. server_name wufak.com www.wufak.com;
  15.  
  16.  
  17. access_log /var/log/nginx/domain.com.access.log diman;
  18. error_log /var/log/nginx/domain.com.error.log debug;
  19.  
  20.  
  21. location / {
  22. try_files $uri $uri/ /index.php?q=$uri&$args;
  23. add_header Cache-Control "private";
  24. }
  25.  
  26. location ~ /.ht {
  27. deny all;
  28. }
  29.  
  30. # #Custom caching
  31. # location ~ .(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|jpg|jpeg|png|gif|swf|webp|js|css)$ {
  32. # add_header Cache-Control "public, max-age=2592000";
  33. # }
  34. # #Custom caching #2
  35. # location ~ .(xml|txt)$ {
  36. # add_header Cache-Control "public, max-age=3600";
  37. # }
  38.  
  39.  
  40. # #CUSTOM-REDIRECT
  41. if ($http_x_forwarded_proto = "http"){
  42. rewrite ^(.*)$ https://$http_host$request_uri permanent;
  43. }
  44. if ($http_host !~ "^www."){
  45. rewrite ^(.*)$ https://www.$http_host$request_uri permanent;
  46. }
  47.  
  48. client_body_in_file_only clean;
  49. client_body_buffer_size 32K;
  50. client_max_body_size 5M;
  51. send_timeout 60s;
  52.  
  53.  
  54. #error_page 404 /404.html;
  55. #error_page 500 502 503 504 /50x.html;
  56. #location = /50x.html {
  57. # root /usr/share/nginx/html;
  58. #}
  59.  
  60. # error_page 404 = @missing;
  61. # location @missing {
  62. # rewrite .* / permanent;
  63. # }
  64.  
  65. location ~ .php$ {
  66. try_files $uri =404;
  67. fastcgi_split_path_info ^(.+.php)(/.+)$;
  68. fastcgi_pass 127.0.0.1:9010;
  69. fastcgi_index index.php;
  70. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  71. include fastcgi_params;
  72.  
  73. }
  74. }
  75.  
  76. [domain.com]
  77. listen = 127.0.0.1:9010
  78. user = www-data
  79. group = www-data
  80. listen.allowed_clients = 127.0.0.1
  81. pm = dynamic
  82. pm.max_children = 5
  83. pm.start_servers = 3
  84. pm.min_spare_servers = 2
  85. pm.max_spare_servers = 4
  86. pm.max_requests = 500
  87. listen.backlog = -1
  88. pm.status_path = /status
  89. request_terminate_timeout = 120s
  90. rlimit_files = 131072
  91. rlimit_core = unlimited
  92. catch_workers_output = yes
  93. php_admin_value[error_log] = /var/log/php-fpm/php5-fpm.domain.com.log
  94. php_admin_flag[log_errors] = on
  95. request_slowlog_timeout = 5s
  96. slowlog = /var/log/php-fpm/slowlog-domain.com.log
  97.  
  98. $ curl -svo /dev/null 'www.domain.com/wp-admin/'
  99. * Trying 104.31.75.83...
  100. * TCP_NODELAY set
  101. * Connected to www.domain.com (104.31.75.83) port 443 (#0)
  102. * TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
  103. * Server certificate: sni196800.cloudflaressl.com
  104. * Server certificate: COMODO ECC Domain Validation Secure Server CA 2
  105. * Server certificate: COMODO ECC Certification Authority
  106. > GET /wp-admin/ HTTP/1.1
  107. > Host: www.domain.com
  108. > User-Agent: curl/7.54.0
  109. > Accept: */*
  110. >
  111. < HTTP/1.1 302 Found
  112. < Date: Wed, 20 Sep 2017 01:21:18 GMT
  113. < Content-Type: text/html
  114. < Transfer-Encoding: chunked
  115. < Connection: keep-alive
  116. < Set-Cookie: __cfduid=ddf1ddc89cc0bef231ffdc4e7a8d43f761505870478; expires=Thu, 20-Sep-18 01:21:18 GMT; path=/; domain=.domain.com; HttpOnly
  117. < X-Powered-By: PHP/5.5.9-1ubuntu4.20
  118. < Set-Cookie: PHPSESSID=i2tiin36jrcskjsrhr7nn9r475; path=/
  119. < Expires: Wed, 11 Jan 1984 05:00:00 GMT
  120. < Cache-Control: no-cache, must-revalidate, max-age=0
  121. < Location: www.domain.com/wp-admin/
  122. < Server: cloudflare-nginx
  123. < CF-RAY: 3a10f79b1de01177-DFW
  124.  
  125. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
  126. 2017/09/19 21:23:18 [debug] 16088#0: *9929 trying to use file: "/wp-admin/index.php" "/var/www/domain2.com/html/wp-admin/index.php"
  127. 2017/09/19 21:23:18 [debug] 16088#0: *9929 try file uri: "/wp-admin/index.php"
  128. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http init upstream, client timer: 0
  129. 2017/09/19 21:23:18 [debug] 16088#0: *9929 epoll add event: fd:80 op:3 ev:80002005
  130. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SCRIPT_FILENAME"
  131. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/var/www/domain2.com/html"
  132. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
  133. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SCRIPT_FILENAME: /var/www/domain2.com/html/wp-admin/index.php"
  134. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "QUERY_STRING"
  135. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "QUERY_STRING: "
  136. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REQUEST_METHOD"
  137. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "GET"
  138. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REQUEST_METHOD: GET"
  139. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "CONTENT_TYPE"
  140. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "CONTENT_TYPE: "
  141. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "CONTENT_LENGTH"
  142. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "CONTENT_LENGTH: "
  143. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SCRIPT_FILENAME"
  144. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/var/www/domain2.com/html/wp-admin/index.php"
  145. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SCRIPT_FILENAME: /var/www/domain2.com/html/wp-admin/index.php"
  146. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SCRIPT_NAME"
  147. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
  148. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SCRIPT_NAME: /wp-admin/index.php"
  149. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REQUEST_URI"
  150. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/"
  151. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REQUEST_URI: /wp-admin/"
  152. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "DOCUMENT_URI"
  153. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
  154. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "DOCUMENT_URI: /wp-admin/index.php"
  155. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "DOCUMENT_ROOT"
  156. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/var/www/domain2.com/html"
  157. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "DOCUMENT_ROOT: /var/www/domain2.com/html"
  158. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_PROTOCOL"
  159. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "HTTP/1.1"
  160. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1"
  161. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: ""
  162. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "GATEWAY_INTERFACE"
  163. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "CGI/1.1"
  164. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1"
  165. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_SOFTWARE"
  166. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "nginx/"
  167. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "1.8.0"
  168. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_SOFTWARE: nginx/1.8.0"
  169. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REMOTE_ADDR"
  170. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "108.198.42.46"
  171. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REMOTE_ADDR: 108.198.42.46"
  172. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REMOTE_PORT"
  173. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: ""
  174. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REMOTE_PORT: "
  175. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_ADDR"
  176. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "23.92.20.26"
  177. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_ADDR: 23.92.20.26"
  178. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_PORT"
  179. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "80"
  180. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_PORT: 80"
  181. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_NAME"
  182. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "domain.com"
  183. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_NAME: domain.com"
  184. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REDIRECT_STATUS"
  185. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "200"
  186. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REDIRECT_STATUS: 200"
  187. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_HOST: www.domain.com"
  188. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CONNECTION: Keep-Alive"
  189. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_ACCEPT_ENCODING: gzip"
  190. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_IPCOUNTRY: US"
  191. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_X_FORWARDED_FOR: 108.198.42.46"
  192. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_RAY: 3a10fa87bde1585b-DFW"
  193. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_X_FORWARDED_PROTO: https"
  194. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_VISITOR: {"scheme":"https"}"
  195. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_USER_AGENT: curl/7.54.0"
  196. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_ACCEPT: */*"
  197. 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_CONNECTING_IP: 108.198.42.46"
  198. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http cleanup add: 00000000020BBDE0
  199. 2017/09/19 21:23:18 [debug] 16088#0: *9929 get rr peer, try: 1
  200. 2017/09/19 21:23:18 [debug] 16088#0: *9929 socket 81
  201. 2017/09/19 21:23:18 [debug] 16088#0: *9929 epoll add connection: fd:81 ev:80002005
  202. 2017/09/19 21:23:18 [debug] 16088#0: *9929 connect to 127.0.0.1:9010, fd:81 #9930
  203. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream connect: -2
  204. 2017/09/19 21:23:18 [debug] 16088#0: *9929 posix_memalign: 00000000020CEF30:128 @16
  205. 2017/09/19 21:23:18 [debug] 16088#0: *9929 event timer add: 81: 60000:1505870658424
  206. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http finalize request: -4, "/wp-admin/index.php?" a:1, c:3
  207. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http request count:3 blk:0
  208. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http finalize request: -4, "/wp-admin/index.php?" a:1, c:2
  209. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http request count:2 blk:0
  210. 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022CB258
  211. 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022CC300
  212. 2017/09/19 21:23:18 [debug] 16088#0: *9929 delete posted event 00000000022CB258
  213. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http run request: "/wp-admin/index.php?"
  214. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream check client, write event:1, "/wp-admin/index.php"
  215. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream recv(): -1 (11: Resource temporarily unavailable)
  216. 2017/09/19 21:23:18 [debug] 16088#0: *9929 delete posted event 00000000022CC300
  217. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream request: "/wp-admin/index.php?"
  218. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream send request handler
  219. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream send request
  220. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream send request body
  221. 2017/09/19 21:23:18 [debug] 16088#0: *9929 chain writer buf fl:0 s:864
  222. 2017/09/19 21:23:18 [debug] 16088#0: *9929 chain writer in: 00000000020BBE18
  223. 2017/09/19 21:23:18 [debug] 16088#0: *9929 writev: 864 of 864
  224. 2017/09/19 21:23:18 [debug] 16088#0: *9929 chain writer out: 0000000000000000
  225. 2017/09/19 21:23:18 [debug] 16088#0: *9929 event timer del: 81: 1505870658424
  226. 2017/09/19 21:23:18 [debug] 16088#0: *9929 event timer add: 81: 60000:1505870658428
  227. 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022642F0
  228. 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022CC300
  229. 2017/09/19 21:23:18 [debug] 16088#0: *9929 delete posted event 00000000022642F0
  230. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream request: "/wp-admin/index.php?"
  231. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream process header
  232. 2017/09/19 21:23:18 [debug] 16088#0: *9929 malloc: 00000000023318D0:4096
  233. 2017/09/19 21:23:18 [debug] 16088#0: *9929 posix_memalign: 00000000023328E0:4096 @16
  234. 2017/09/19 21:23:18 [debug] 16088#0: *9929 recv: fd:81 304 of 4096
  235. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 01
  236. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 06
  237. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 00
  238. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 01
  239. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 01
  240. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 15
  241. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 03
  242. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 00
  243. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record length: 277
  244. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
  245. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Status: 302 Found"
  246. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
  247. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "X-Powered-By: PHP/5.5.9-1ubuntu4.20"
  248. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
  249. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Set-Cookie: PHPSESSID=879h83fv951hkr0j34mtmmm7j4; path=/"
  250. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
  251. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Expires: Wed, 11 Jan 1984 05:00:00 GMT"
  252. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
  253. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Cache-Control: no-cache, must-revalidate, max-age=0"
  254. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
  255. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Location: www.domain.com/wp-admin/"
  256. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
  257. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Content-type: text/html"
  258. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 1
  259. 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header done
  260. 2017/09/19 21:23:18 [debug] 16088#0: *9929 uploadprogress error-tracker error: 0
  261. 2017/09/19 21:23:18 [debug] 16088#0: *9929 xslt filter header
  262. 2017/09/19 21:23:18 [debug] 16088#0: *9929 HTTP/1.1 302 Found
  263. Server: nginx
  264. Date: Wed, 20 Sep 2017 01:23:18 GMT
  265. Content-Type: text/html
  266. Transfer-Encoding: chunked
  267. Connection: keep-alive
  268. X-Powered-By: PHP/5.5.9-1ubuntu4.20
  269. Set-Cookie: PHPSESSID=879h83fv951hkr0j34mtmmm7j4; path=/
  270. Expires: Wed, 11 Jan 1984 05:00:00 GMT
  271. Cache-Control: no-cache, must-revalidate, max-age=0
  272. Location: www.domain.com/wp-admin/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement