Re: NGINX redirection issue

2014-09-03 Thread manish-ezest
OK thanks Maxim. I will check your recommendation and will let you know. --Manish Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252379,253036#msg-253036 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: NGINX redirection issue

2014-09-02 Thread Maxim Dounin
Hello! On Mon, Sep 01, 2014 at 02:05:46PM -0400, manish-ezest wrote: > Hello Maxim, > > Like you suggested I have set "recursive_error_pages" to off but still I am > facing the problem. This time I am getting "504 Gateway Time-out" error. I > have already shared my NGINX and vhost configuration.

Re: NGINX redirection issue

2014-09-01 Thread manish-ezest
Hello Maxim, Like you suggested I have set "recursive_error_pages" to off but still I am facing the problem. This time I am getting "504 Gateway Time-out" error. I have already shared my NGINX and vhost configuration. We have one fastcgi script running for serving error pages which checks the entr

Re: NGINX redirection issue

2014-08-30 Thread Maxim Dounin
Hello! On Fri, Aug 29, 2014 at 10:08:57AM -0400, manish-ezest wrote: > Hello Maxim, > > I tried enabling debug mode but still I am not able to figure out the issue > and its possible solutions. > > I disabled this rewrites which are rewriting to index.html > ## Rewrite all directory lookups to

Re: NGINX redirection issue

2014-08-29 Thread manish-ezest
Hello Maxim, I tried enabling debug mode but still I am not able to figure out the issue and its possible solutions. I disabled this rewrites which are rewriting to index.html ## Rewrite all directory lookups to 'index.html' #rewrite ^(.*)/$ $1/index.html permanent; ## Rewrite all open strings

Re: NGINX redirection issue

2014-08-09 Thread Maxim Dounin
Hello! On Fri, Aug 08, 2014 at 10:49:15PM -0400, manish-ezest wrote: > Hello Maxim, > > The server_name(website) is a dummy name as I don't want to disclose the > site name. I might have mistaken while editing the name. But I ensure you > that the logs I have provided is correct. I am pasting my

Re: NGINX redirection issue

2014-08-08 Thread manish-ezest
Hello Maxim, The server_name(website) is a dummy name as I don't want to disclose the site name. I might have mistaken while editing the name. But I ensure you that the logs I have provided is correct. I am pasting my original configuration which is working like a charm. If I change anything from

Re: NGINX redirection issue

2014-08-08 Thread Maxim Dounin
Hello! On Thu, Aug 07, 2014 at 12:02:43PM -0400, manish-ezest wrote: > Hello Maxim, > > Thank you for your response. Here is the my nginx settings [...] > server { > listen 80; > server_name www-aaa.com; Note that server_name doesn't match domain in logs you've provided and in other parts of

Re: NGINX redirection issue

2014-08-08 Thread manish-ezest
Hello Maxim, I am getting 499 error when I try using try files directive as you suggested. It got stuck and no response from the server. 50.50.50.50 - - [08/Aug/2014:10:12:01 +0200]"GET /aaa/bbb/ccc/index.html HTTP/1.1" 499 0 "-" "Wget/1.14 (linux-gnu)" 4.678 --Manish Posted at Nginx Forum: ht

Re: NGINX redirection issue

2014-08-07 Thread manish-ezest
Hello Maxim, Thank you for your response. Here is the my nginx settings **my NGINX.conf user nginx; worker_processes 1; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; worker_rlimit_nofile 3; events { worker_connections 1024; } http { include

Re: NGINX redirection issue

2014-08-07 Thread Maxim Dounin
Hello! On Wed, Aug 06, 2014 at 11:37:42PM -0400, manish-ezest wrote: > Hello All, > > I am facing some issue regarding nginx redirection. I want to remove .html > extension from all the html pages and all the index.html pages. For example > > 1. > http://www.aaa.com/bbb/ccc.html should show th

NGINX redirection issue

2014-08-06 Thread manish-ezest
Hello All, I am facing some issue regarding nginx redirection. I want to remove .html extension from all the html pages and all the index.html pages. For example 1. http://www.aaa.com/bbb/ccc.html should show the content of http://www.aaa.com/bbb/ccc.html but the URL should show http://www.aaa.c