Blank homepage, but other sites working
-
Hello,
that is a fresh install.On a post: https://108.61.210.226/hello-world/
I get the following header:
X-Cache-Engine: WP-FFPC with memcached via PHPBut on the homepage: https://108.61.210.226/
I get only a blank page and the following header:
X-Cache-Engine: not cachedI use your plugin with nginx and php memcached.
Here is my nginx-conf:
upstream memcached-servers { server 127.0.0.1:11211; } upstream php-fpm { server 127.0.0.1:9000; } server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; root /var/www/html; index index.php index.html index.htm; server_name _; location / { try_files $uri $uri/ /index.php?q=$uri&$args; } location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+) $; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; default_type text/html; set $memcached_key data-$scheme://$host$request_uri; set $memcached_request 1; if ($request_method = POST) { set $memcached_request 0; } if ($uri ~"/wp-") { set $memcached_request 0; } if ($args) { set $memcached_request 0; } if ($http_cookie ~* "comment_author_|wordpressuser_|wp-postpass_|wordpress_logged_in_") { set $memcached_request 0; } if ($memcached_request = 1) { add_header X-Cache-Engine "WP-FFPC with memcached via nginx"; memcached_pass memcached-servers; error_page 404 = @nocache; break; } fastcgi_pass unix:/var/run/php5-fpm.sock; } location @nocache { add_header X-Cache-Engine "not cached"; fastcgi_pass unix:/var/run/php5-fpm.sock; } }
Thank you in advance
Thomas
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Blank homepage, but other sites working’ is closed to new replies.