Hi, We have setup like so : 1. Nginx is configured as server which recieves user request 2. The user request is proxy_passed to another server which is also Nginx. Now when user requests for a file(401481 bytes) over AJAX, it is not being served. This problem doesn't happen for every file, just for random files. The same file doesn't load every time. I tried disabling proxy_bufferby shrinath.m - Nginx Mailing List - English
Oops... I take it back, it works... Ignorant me had one more line few lines above the said code: error_page 500 504 =500 @error50x; Solved now... Thanks :)by shrinath.m - Nginx Mailing List - English
I tried to catch 504, not working. Anything wrong in the following? error_page 504 =200 @checkstatus; location @checkstatus { rewrite ^(.*)$ /k/binarystatus/check?original_uri=$1 break; proxy_pass https://shrinath.blah.com; proxy_hide_header Last-Modified; proxy_read_timeout 10s; proxy_intercept_errors on; }by shrinath.m - Nginx Mailing List - English
Hi, I would like to put a proxy_read_timeout and if it times out, I want to do a specific action in php and return some response to the user. Is this possible? How? Thanks, Shrinathby shrinath.m - Nginx Mailing List - English
My maintenance mode config is as follows : if (-f $errorroot/maintenance.html) { return 503; } error_page 503 @maintenance; location @maintenance { rewrite ^(.*)$ /maintenance.html break; proxy_method GET; proxy_pass http://localhost:100; } What it is doing is rewriting all the url to /maintenance.html if that file is present. Now I want to allow only aby shrinath.m - Nginx Mailing List - English
Sorry to be disturbing the peacefullness of a long sleeping thread!! I didn't understand a part of the post above : eduard Wrote: ------------------------------------------------------- > > and run it (it says nothing, just works) > > after, configure nginx to pass fcgi requests to > this program > I didn't understand how you do this part without the "spaby shrinath.m - How to...