Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: настройка виртуального хоста в windows xp
спасибо за ответы, у меня работает такой конфиг:
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name flashportal.com;
charset utf-8;
root c:/dev/www/flashportal;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root c:/dev/nginx/html;
}
location / {
index index.php;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9123;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
}
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,51865,52630#msg-52630
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|