Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
передача PUT/DELETE на FastCGI
Снимите с ручника опять плиз.
При запросе PUT или DELETE в location который ходит к php через FastCGI
получаю только 405 Method not allowed. limit_except тоже не помогает...
location / {
limit_except GET POST DELETE PUT {
allow all;
}
auth_basic testing;
auth_basic_user_file /home/etc/htpasswd;
location ~ .*\.php$ {
include /usr/local/etc/nginx/fastcgi_params;
fastcgi_pass unix:/home/www/.fastcgi.php.socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /www/app/webroot$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT /www;
}
}
--
Sphinx of black quartz judge my vow.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|