Hi As mentioned above the different condition for Nginx, If anybody know in details then please guide me. It will help me to understand the Nginx rewrite rule in details.by niraj - Nginx Mailing List - English
Hi My view is that only if Nginx error log more informative then it will be very userful for system admin who wants to switch from apache to Nginx. Its need to be more informative. "As I am system admin and I was face that issue and at that time there were no error log which guide me to solve the issue. who are new to switch with Nginx this logs not that much informative.&qby niraj - Nginx Mailing List - English
Hi First of all sorry for ''u". I am the system admin. I was stuck when I was getting the above error. I will try to find for the informative error log in Nginx. I just shared the thing that was happened with me. If error log was informative like apache then It could be the solved earlier. I totally agree with Each has their advantages and disadvantages and boby niraj - Nginx Mailing List - English
Hi Anton As u suggested, words "upstream closed prematurely FastCGI stdout" show, that problem is probably in FastCGI server. This is what I am telling u that Nginx error log misguide us. Actually Problem was one perl module was not installed in that so I was getting the above error. Earlier I used apby niraj - Nginx Mailing List - English
Hi All I having the html files and cgi files for that I was using the apache, Its running fine. I heard about the Nginx and I was trying to setup the same in locally first. but during that I was getting the error the error of Nginx not reflect the exact issue with the application. the error of Nginx is not system admin friendly at all. from the below error we are not aby niraj - Nginx Mailing List - English
Hi I am trying to run my application which having html+cgi/perl files. during the login its giving the following error. In Browser I am getting the following error 502 Bad Gateway and In error log file 2012/03/30 09:58:05 29619#0: *1 upstream closed prematurely FastCGI stdout while reading response header from upstream, client: 192.168.1.44, server: localhost, requesby niraj - Nginx Mailing List - English
Hi Igor Thnx for helping again. My personal view for that doc is its a very brief document. I have read before I post the above mail. I dont get the fully understand from that doc... suppose what is meaning of the following location /user/ { ===== I have add slash / at the end of /user proxy_pass http://192.168.1.210; }by niraj - Nginx Mailing List - English
Hi For that auction proxy_pass working but now I have request like /user/ongoingra/display_ra_list?from_period=&to_period=&type=20 I want to redirect this query for that I have added the following location =/user/ongoingra/ { proxy_pass http://192.168.1.210/user/ongoingra/; } or location =/user { proxy_pass http://192.168.1.210/user; } or location /uby niraj - Nginx Mailing List - English
Hi I tried Proxy_Pass /auction http://192.168.1.210/; its not working gives the following error nginx: invalid number of arguments in "proxy_pass" directive in /etc/nginx/conf.d/default.conf:52 nginx: configuration file /etc/nginx/nginx.conf test failedby niraj - Nginx Mailing List - English
Hi As I read and from that I understand, Proxypass in apache not used for regular express. mostly for regular expression in apache used the rewriterule http://httpd.apache.org/docs/current/mod/mod_rewrite.html The mod_rewrite module uses a rule-based rewriting engine, based on a PCRE regular-expression parser, to rewrite requested URLs on the fly Please correct me If Iby niraj - Nginx Mailing List - English
Hi Thnx for link. We can not do the same with rewrite ? for me with rewrite it was working but the only problem was that the url not proxied. its show the 192.168.1.210 at user end instead showing the original server name(my case 192.168.1.45). we can not solve that with rewrite ????by niraj - Nginx Mailing List - English
Hi Tnx a lot. that is what exactly I want to do I have done the following and its works. location = /auction { proxy_pass http://192.168.1.210/; } Tnx for the solution. And thnx for understanding the requirement. I have googling so much but I did not find this = syntax would you suggest for Nginx doc link in that I found such details docs.by niraj - Nginx Mailing List - English
HI I was trying the with the following changes location /auction(.*)$1 { proxy_pass http://192.168.1.210$1/; } It was giving the following error 2012/03/27 10:32:39 7871#0: *1 open() "/var/www/vendx/html_asp/auction" failed (2: No such file or directory), client: 192.168.1.44, server: localhost, request: "GET /auction?id=1332416535292370.0097187543142212 HTTby niraj - Nginx Mailing List - English
Hi Sorry for that Mess up. As u suggested I have added the following line location /auction/ { proxy_pass http://192.168.1.210; when I click into my application I got the error that I mentioned in earlier e-mail. that error log of original server (192.168.1.45) and there is no log for 192.168.1.210 error log file. this is the request that my application is sending toby niraj - Nginx Mailing List - English
Hi Let me clear my question again. My current problem is if I used the rewrite rules my site is working(this is my testing machine so Ip just like 192.168......), but problem is it not show the original server Ip , instead it show the 192.168.1.210 at client side, I want to hide this Ip 192.168.1.210. want to show the original server IP when redirect happened. Hope you clear wiby niraj - Nginx Mailing List - English
Hi I have installed the catalyst and I am trying to integrate the same with Nginx. rewrite /auction(.*)$ http://192.168.1.210$1; the following rewrite rule is working for me right now. If I write rule that u mentioned then it will gives the error location /auction/ { proxy_pass http://192.168.1.210; } The reason for error might is that because my request is just likeby niraj - Nginx Mailing List - English
Is there any other way to complete my requirement ??by niraj - Nginx Mailing List - English
Hi I know that solution but it will not work in my case, I am using the reguralar expression. Proxy pass not support regural expression right ?by niraj - Nginx Mailing List - English
Hi I have write a one rewrite rule as below rewrite /auction(.*)$ http://192.168.1.210$1; This rewrite rule working fine for me. but the problem is it show the Ip address 192.168.1.210 also. I want to hide this IP , for that in apache flage is there. but Nginx I dont know how to set proxy flag . Please guide for the same.by niraj - Nginx Mailing List - English
k Thnkxby niraj - Nginx Mailing List - English
Hi I am using the application which having code in perl. I have both html and cgi files. For Cgi and perl files I have install the fcgi and spawn-fcgi and configure the same in Nginx configuration. For database I am using Mysql and OS is Cent OS. Is any other information required ? Please suggest where would be the exact error log for this application which can help to solve tby niraj - Nginx Mailing List - English
Hi Very True, If application use apache then logs in apache's error log. But now I am using Nginx, and its error log not give the details error due to that from error log we are not able to rectified the issue. You suggested backend's log but I dont found any backend's log which can help to rectified the issue.by niraj - Nginx Mailing List - English
Hi backend's log mean in which file ? I was using apache (httpd) also in that access.log and error.log in that if any application having any error then it reflect in error log. at the same time that was not happened in Nginx. can you tell me how can I diagnose my application related error ?by niraj - Nginx Mailing List - English
Hi I have configured the nagios on centos, I have perl related code that I have set. the problem is that when I was configured the same, it had a problem of database connection, but in error log it shows the error like 502 bad gateway or other error which not reflect the error related to database. Means from the error I was not able to conclude that what was the problem. Is there aby niraj - Nginx Mailing List - English
Hi I am configuring the nginx , I have added the following entry in nginx.conf server { listen 80; server_name localhost; include /etc/nginx/mime.types; default_type application/octet-stream; location / { root /var/www/vendx/html_asp; index index.html index.htm; } location ~ \.cgi$ { gby niraj - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |