小编Tom*_*ski的帖子

Nginx'重写或内部重定向循环,同时内部重定向'导致500

我对Raspbian喘息的nginx 1.2.1-2.2有点问题.我认为它是在我更改了我的sites-available/default文件中的索引之后开始的.以下是相关文件:

nginx.conf
user www-data;
worker_processes 4;
pid /var/run/nginx.pid;

events {
    worker_connections 768;
    # multi_accept on;
}

http {

    ##
    # Basic Settings
    ##

    sendfile on;
    tcp_nopush on;
    tcp_nodelay on;
    keepalive_timeout 65;
    types_hash_max_size 2048;
    index index.html index.htm index.php;
    # server_tokens off;

    # server_names_hash_bucket_size 64;
    # server_name_in_redirect off;

    include /etc/nginx/mime.types;
    default_type application/octet-stream;

    ##
    # Logging Settings
    ##

    access_log /var/log/nginx/access.log;
    error_log /var/log/nginx/error.log;

    ##
    # Gzip Settings
    ##

    gzip on;
    gzip_disable "msie6";

    # gzip_vary on;
    # gzip_proxied any;
    # gzip_comp_level 6;
    # gzip_buffers …
Run Code Online (Sandbox Code Playgroud)

wordpress nginx

3
推荐指数
1
解决办法
4万
查看次数

标签 统计

nginx ×1

wordpress ×1