Re: nginx и drupal

maxya nginx-forum на
Вт Янв 18 22:51:28 MSK 2011

Попробуйте вот так

 location / {
                # This is cool because no php is touched for static
                try_files $uri @drupal;
        location @drupal {
                # Some modules enforce no slash (/) at the end of the
                # Else this rewrite block wouldn't be needed
                rewrite ^/(.*)$ /index.php?q=$1;
location ~ \.php$ {
                fastcgi_split_path_info ^(.+\.php)(/.+)$;
                #NOTE: You should have "cgi.fix_pathinfo = 0;" in
                include fastcgi_params;
                fastcgi_param SCRIPT_FILENAME
                fastcgi_intercept_errors on;
                fastcgi_pass /tmp/php-fpm.sock;


Posted at Nginx Forum:,164567,167332#msg-167332

Подробная информация о списке рассылки nginx-ru