I am confused what went wrong here ..
after I insert code nginx error.
I use this configuration
Code:
server {
error_log /var/log/nginx/vhost-error_log warn;
listen ipserver:80;
server_name testing.com www.testing.com;
access_log /usr/local/apache/domlogs/testing.com-bytes_log bytes_log;
access_log /usr/local/apache/domlogs/testing.com combined;
root /home/testing/public_html;
location /home/testing/public_html/ {
rewrite ^/home/testing/public_html/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /home/testing/public_html/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;
}
location / {
try_files $uri @backend;
}
location @backend {
internal;
proxy_pass http://ipserver:8081;
include proxy.inc;
}
location ~ .*\.(php|jsp|cgi|pl|py)?$ {
proxy_pass http://ipserver:8081;
include proxy.inc;
}
location ~ .*\.(asp|aspx)?$ {
deny all;
}
location ~ /\.ht {
deny all;
}
}