Re: 405 Not Allowed Php .Post

Sergey Averyanov averyanov gmail.com
22 12:09:03 MSD 2010


nginx  405   post   

2010/7/21 No1 <nginx-forum at nginx.us>:
>  ,   
>      
> .
>    755.
>   "Post basket/?st=1"  405.
> [code]
> upstream backend {
>    server  127.0.0.1:3000  weight=5;
>    server  127.0.0.1:3001  max_fails=3 fail_timeout=30s;
>
>    }
>
>  server {
>    listen    80;
>    server_name www.site;
>
>    access_log /var/log/nginx/site.access.log main;
>
>    location / {
>      root  /var/www/site/;
>      index index.php;
>    }
>
>    error_page  500 502 503 504 /50x.html;
>    location = /50x.html {
>      root  /var/www/nginx-dist;
>    }
>
>    location ~ \.php$ {
>      fastcgi_pass  backend;
>      fastcgi_index index.php;
>      fastcgi_param SCRIPT_FILENAME
> /var/www/site$fastcgi_script_name;
>      include    fastcgi_params;
>      fastcgi_param REQUEST_METHOD  $request_method;
>      fastcgi_param CONTENT_TYPE   $content_type;
>      fastcgi_param CONTENT_LENGTH  $content_length;
> [/code]
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,111241,111241#msg-111241
>
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru at nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>



-- 
 ,
  ,
 .: +79272702841
 GTalk: averyanov at gmail.com


nginx-ru