为了账号安全,请及时绑定邮箱和手机立即绑定

复制黏贴下来格式都没了

复制黏贴下来格式都没了

无无法师 2017-08-23 18:09:18
复制黏贴下来格式都没了,怎么办?http://hi.ktsee.com/545.htmlserver {    listen 80;    server_name www.ktsee.com;    root /data/wwwroot/www.ktsee.com;    index index.html index.htm index.php;    #charset koi8-r;    access_log  /data/wwwlogs/www.ktsee.com.access.log  main;    location / {        if (!-e $request_filename) {                rewrite ^/(.*) /index.php?s=/$1 last;                #rewrite ^(.*) index.php?s=$1 last;        }    }    error_page  404                 /404.html;    error_page  500 502 503 504  /50x.html;    location = /50x.html {        root   /usr/share/nginx/html;    }    location ~ \.php/?.* {        fastcgi_pass   127.0.0.1:9000;        fastcgi_index  index.php;        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;        include fastcgi_params;        set $path_info "";        set $real_script_name $fastcgi_script_name;        if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$"){                set $real_script_name $1;                set $path_info $2;        }        fastcgi_param SCRIPT_FILENAME $document_root$real_script_name;        fastcgi_param SCRIPT_NAME $real_script_name;        fastcgi_param PATH_INFO $path_info;    }    location ~ /.ht {        deny all;    }    location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$    {        expires 10d;    }    location ~ .*\.(js|css)?$    {        expires 1d;    }}
查看完整描述

1 回答

?
墨鱼排骨_俩份饭

TA贡献5条经验 获得超2个赞

编译器问题

查看完整回答
反对 回复 2017-08-24
  • 1 回答
  • 0 关注
  • 1767 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信