Hi all,
I came with a good working configuration with nginx, with php-fpm listening on the 9000 port
The only thing not working is the vbseo_sitemapCode:server { listen 80; server_name mondobulldog.it; rewrite ^/(.*) http://www.mondobulldog.it/$1 permanent; } server { listen 80; server_name www.mondobulldog.it; #charset koi8-r; access_log /var/www/mb/log/access.nginx.log main; error_log /var/www/mb/log/error.nginx.log; location / { root /var/www/mb/html; index index.php; #proxy_buffering off; #proxy_max_temp_file_size 0; rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last; try_files $uri $uri/ /vbseo.php?$args; } location /vbseo/(includes|resources/html|resources/xml)/ { allow 127.0.0.1; deny all; } # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ /(.*\.php)$ { root html; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /var/www/mb/html/vbseo.php$fastcgi_script_name; include fastcgi_params; } # deny access to .htaccess files, if Apache's document root # concurs with nginx's one # location ~ /\.ht { deny all; } }
Pointing to http://www.mondobulldog.it/sitemap_index.xml.gz gives me a 404 error.
Where is the problem?
I follow the instruction supplied with vbseo


LinkBack URL
About LinkBacks





Reply With Quote

