小编Ote*_*rox的帖子

Wordpress + nginx 无限重定向循环

我在使用 wordpress 站点进入管理区域时遇到问题。

如果我输入:http : //www.beshan.com/wp-admin/

我得到一个无限重定向循环,但如果我输入:

http://www.beshan.com/wp-admin/index.php

有用

我客户端的服务器是centos linux + nginx

nginx.conf:

user  www www;
worker_processes 8;
error_log  logs/nginx_error.log  crit;
#pid        /usr/local/webserver/nginx/nginx.pid;

#Specifies the value for maximum file descriptors that can be opened by this process. 
worker_rlimit_nofile 51200;
events 
{
  use epoll;
  worker_connections 51200;
}

http 
{
  include       mime.types;
  default_type  application/octet-stream;
  #charset  gb2312;
  server_names_hash_bucket_size 128;
  client_header_buffer_size 32k;
  large_client_header_buffers 4 32k;
  client_max_body_size 8m;

  sendfile on;
  tcp_nopush     on;

  keepalive_timeout 60;

  tcp_nodelay on;
  server_tokens off;

  fastcgi_connect_timeout 300;
  fastcgi_send_timeout 300;
  fastcgi_read_timeout …
Run Code Online (Sandbox Code Playgroud)

nginx web-server wordpress

6
推荐指数
1
解决办法
2万
查看次数

标签 统计

nginx ×1

web-server ×1

wordpress ×1