Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nginx version: nginx/1.8.0
- PHP 5.5.9-1ubuntu4.20 (fpm-fcgi) (built: Oct 3 2016 13:03:22)
- Copyright (c) 1997-2014 The PHP Group
- Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
- with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
- server {
- listen 80;
- root /var/www/domain.com/html;
- index index.php;
- server_name wufak.com www.wufak.com;
- access_log /var/log/nginx/domain.com.access.log diman;
- error_log /var/log/nginx/domain.com.error.log debug;
- location / {
- try_files $uri $uri/ /index.php?q=$uri&$args;
- add_header Cache-Control "private";
- }
- location ~ /.ht {
- deny all;
- }
- # #Custom caching
- # location ~ .(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|jpg|jpeg|png|gif|swf|webp|js|css)$ {
- # add_header Cache-Control "public, max-age=2592000";
- # }
- # #Custom caching #2
- # location ~ .(xml|txt)$ {
- # add_header Cache-Control "public, max-age=3600";
- # }
- # #CUSTOM-REDIRECT
- if ($http_x_forwarded_proto = "http"){
- rewrite ^(.*)$ https://$http_host$request_uri permanent;
- }
- if ($http_host !~ "^www."){
- rewrite ^(.*)$ https://www.$http_host$request_uri permanent;
- }
- client_body_in_file_only clean;
- client_body_buffer_size 32K;
- client_max_body_size 5M;
- send_timeout 60s;
- #error_page 404 /404.html;
- #error_page 500 502 503 504 /50x.html;
- #location = /50x.html {
- # root /usr/share/nginx/html;
- #}
- # error_page 404 = @missing;
- # location @missing {
- # rewrite .* / permanent;
- # }
- location ~ .php$ {
- try_files $uri =404;
- fastcgi_split_path_info ^(.+.php)(/.+)$;
- fastcgi_pass 127.0.0.1:9010;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- }
- [domain.com]
- listen = 127.0.0.1:9010
- user = www-data
- group = www-data
- listen.allowed_clients = 127.0.0.1
- pm = dynamic
- pm.max_children = 5
- pm.start_servers = 3
- pm.min_spare_servers = 2
- pm.max_spare_servers = 4
- pm.max_requests = 500
- listen.backlog = -1
- pm.status_path = /status
- request_terminate_timeout = 120s
- rlimit_files = 131072
- rlimit_core = unlimited
- catch_workers_output = yes
- php_admin_value[error_log] = /var/log/php-fpm/php5-fpm.domain.com.log
- php_admin_flag[log_errors] = on
- request_slowlog_timeout = 5s
- slowlog = /var/log/php-fpm/slowlog-domain.com.log
- $ curl -svo /dev/null 'www.domain.com/wp-admin/'
- * Trying 104.31.75.83...
- * TCP_NODELAY set
- * Connected to www.domain.com (104.31.75.83) port 443 (#0)
- * TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
- * Server certificate: sni196800.cloudflaressl.com
- * Server certificate: COMODO ECC Domain Validation Secure Server CA 2
- * Server certificate: COMODO ECC Certification Authority
- > GET /wp-admin/ HTTP/1.1
- > Host: www.domain.com
- > User-Agent: curl/7.54.0
- > Accept: */*
- >
- < HTTP/1.1 302 Found
- < Date: Wed, 20 Sep 2017 01:21:18 GMT
- < Content-Type: text/html
- < Transfer-Encoding: chunked
- < Connection: keep-alive
- < Set-Cookie: __cfduid=ddf1ddc89cc0bef231ffdc4e7a8d43f761505870478; expires=Thu, 20-Sep-18 01:21:18 GMT; path=/; domain=.domain.com; HttpOnly
- < X-Powered-By: PHP/5.5.9-1ubuntu4.20
- < Set-Cookie: PHPSESSID=i2tiin36jrcskjsrhr7nn9r475; path=/
- < Expires: Wed, 11 Jan 1984 05:00:00 GMT
- < Cache-Control: no-cache, must-revalidate, max-age=0
- < Location: www.domain.com/wp-admin/
- < Server: cloudflare-nginx
- < CF-RAY: 3a10f79b1de01177-DFW
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
- 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"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 try file uri: "/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http init upstream, client timer: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 epoll add event: fd:80 op:3 ev:80002005
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SCRIPT_FILENAME"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/var/www/domain2.com/html"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SCRIPT_FILENAME: /var/www/domain2.com/html/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "QUERY_STRING"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "QUERY_STRING: "
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REQUEST_METHOD"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "GET"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REQUEST_METHOD: GET"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "CONTENT_TYPE"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "CONTENT_TYPE: "
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "CONTENT_LENGTH"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "CONTENT_LENGTH: "
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SCRIPT_FILENAME"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/var/www/domain2.com/html/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SCRIPT_FILENAME: /var/www/domain2.com/html/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SCRIPT_NAME"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SCRIPT_NAME: /wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REQUEST_URI"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REQUEST_URI: /wp-admin/"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "DOCUMENT_URI"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "DOCUMENT_URI: /wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "DOCUMENT_ROOT"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "/var/www/domain2.com/html"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "DOCUMENT_ROOT: /var/www/domain2.com/html"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_PROTOCOL"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "HTTP/1.1"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_PROTOCOL: HTTP/1.1"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: ""
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "GATEWAY_INTERFACE"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "CGI/1.1"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "GATEWAY_INTERFACE: CGI/1.1"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_SOFTWARE"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "nginx/"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "1.8.0"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_SOFTWARE: nginx/1.8.0"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REMOTE_ADDR"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "108.198.42.46"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REMOTE_ADDR: 108.198.42.46"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REMOTE_PORT"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: ""
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REMOTE_PORT: "
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_ADDR"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "23.92.20.26"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_ADDR: 23.92.20.26"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_PORT"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "80"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_PORT: 80"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "SERVER_NAME"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script var: "domain.com"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "SERVER_NAME: domain.com"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "REDIRECT_STATUS"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http script copy: "200"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "REDIRECT_STATUS: 200"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_HOST: www.domain.com"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CONNECTION: Keep-Alive"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_ACCEPT_ENCODING: gzip"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_IPCOUNTRY: US"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_X_FORWARDED_FOR: 108.198.42.46"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_RAY: 3a10fa87bde1585b-DFW"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_X_FORWARDED_PROTO: https"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_VISITOR: {"scheme":"https"}"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_USER_AGENT: curl/7.54.0"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_ACCEPT: */*"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 fastcgi param: "HTTP_CF_CONNECTING_IP: 108.198.42.46"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http cleanup add: 00000000020BBDE0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 get rr peer, try: 1
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 socket 81
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 epoll add connection: fd:81 ev:80002005
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 connect to 127.0.0.1:9010, fd:81 #9930
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream connect: -2
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 posix_memalign: 00000000020CEF30:128 @16
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 event timer add: 81: 60000:1505870658424
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http finalize request: -4, "/wp-admin/index.php?" a:1, c:3
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http request count:3 blk:0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http finalize request: -4, "/wp-admin/index.php?" a:1, c:2
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http request count:2 blk:0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022CB258
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022CC300
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 delete posted event 00000000022CB258
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http run request: "/wp-admin/index.php?"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream check client, write event:1, "/wp-admin/index.php"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream recv(): -1 (11: Resource temporarily unavailable)
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 delete posted event 00000000022CC300
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream request: "/wp-admin/index.php?"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream send request handler
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream send request
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream send request body
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 chain writer buf fl:0 s:864
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 chain writer in: 00000000020BBE18
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 writev: 864 of 864
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 chain writer out: 0000000000000000
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 event timer del: 81: 1505870658424
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 event timer add: 81: 60000:1505870658428
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022642F0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 post event 00000000022CC300
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 delete posted event 00000000022642F0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream request: "/wp-admin/index.php?"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http upstream process header
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 malloc: 00000000023318D0:4096
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 posix_memalign: 00000000023328E0:4096 @16
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 recv: fd:81 304 of 4096
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 01
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 06
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 00
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 01
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 01
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 15
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 03
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record byte: 00
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi record length: 277
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Status: 302 Found"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "X-Powered-By: PHP/5.5.9-1ubuntu4.20"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Set-Cookie: PHPSESSID=879h83fv951hkr0j34mtmmm7j4; path=/"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Expires: Wed, 11 Jan 1984 05:00:00 GMT"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Cache-Control: no-cache, must-revalidate, max-age=0"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Location: www.domain.com/wp-admin/"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header: "Content-type: text/html"
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi parser: 1
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 http fastcgi header done
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 uploadprogress error-tracker error: 0
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 xslt filter header
- 2017/09/19 21:23:18 [debug] 16088#0: *9929 HTTP/1.1 302 Found
- Server: nginx
- Date: Wed, 20 Sep 2017 01:23:18 GMT
- Content-Type: text/html
- Transfer-Encoding: chunked
- Connection: keep-alive
- X-Powered-By: PHP/5.5.9-1ubuntu4.20
- Set-Cookie: PHPSESSID=879h83fv951hkr0j34mtmmm7j4; path=/
- Expires: Wed, 11 Jan 1984 05:00:00 GMT
- Cache-Control: no-cache, must-revalidate, max-age=0
- Location: www.domain.com/wp-admin/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement