Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nginx 0.6.35 - charset utf-8
On Mon, Feb 02, 2009 at 09:42:16AM +0300, ykk ykk wrote:
> конфиг следующий
>
> user apache;
> worker_processes 64;
> worker_rlimit_nofile 20480;
> worker_rlimit_sigpending 32768;
>
> error_log logs/error.log debug;
>
> pid logs/nginx.pid;
>
> events {
> worker_connections 1024;
> }
>
> http {
> include mime.types;
> default_type application/octet-stream;
>
> log_format main '$remote_addr - $remote_user [$time_local] $status
> '
> '"$request" $body_bytes_sent "$http_referer" '
> '"$http_user_agent" "http_x_forwarded_for"';
>
> access_log off
>
> gzip on;
>
> sendfile on;
> tcp_nopush on;
> tcp_nodelay on;
> keepalive_timeout 15;
> ignore_invalid_headers on;
>
> server_names_hash_bucket_size 128;
>
> ######################
> server {
> listen ip:80;
> server_name domain.com;
> charset utf-8;
> root /var/www/domain.com;
>
> location / {
> index index.php;
>
> }
> location ~ \.php$ {
> fastcgi_pass unix:/tmp/php.sock;
> fastcgi_param SCRIPT_FILENAME
> /var/www/domain.com$fastcgi_script_name;
> fastcgi_index index.php;
> include fastcgi_params;
> }
> }
> }
И в каком месте перестал выдаваться utf-8 ? Для статики или для PHP ?
--
Игорь Сысоев
http://sysoev.ru
|