try_files and proxypass

2015-08-06 Thread arlin
Hi, I came across such configs and I am curios to know what @app_$dc; matches in location configs? try_files $uri @app_$dc; location @app_prod { proxy_pass http://app_prod;} location @app_qadc { proxy_pass http://app_qadc;} Thanks ar Posted at Nginx Forum: http://forum.nginx.org/read.php?2

connection timeout on download server

2015-08-06 Thread mojiz
Hi I have an nginx setup on multiple download servers. I've setup a monitor server to check my servers at interval and when the servers seem to be at their peak I get connection timeout from my servers. I've set limit_conn 64 for each remote_ip to make sure one user can't hog the server. today when

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-06 Thread Francis Daly
On Fri, Aug 07, 2015 at 01:18:48AM +0100, Francis Daly wrote: > On Thu, Aug 06, 2015 at 07:26:34PM -0400, tunist wrote: Hi there, > Also, you seem to be testing with "curl -I -r", and being surprised at > a HTTP 200 response. nginx returns HTTP 200 to HEAD requests for files. That last sentence

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-06 Thread Francis Daly
On Thu, Aug 06, 2015 at 07:26:34PM -0400, tunist wrote: Hi there, > i have now updated the serverfault question to include the nginx config > files. It looks like the question at http://serverfault.com/questions/710304/ has been changed so most current comments now look broken. That's one downs

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-06 Thread tunist
i have now updated the serverfault question to include the nginx config files. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260835#msg-260835 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-06 Thread tunist
i mentioned the possibility of a bug since i have already exhausted all options presented to me via numerous channels of research and support. i will post my server/site's full config to serverfault shorly. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260833#msg-260833 ___

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-06 Thread Maxim Dounin
Hello! On Thu, Aug 06, 2015 at 09:16:38AM -0400, tunist wrote: > i have now created question on this topic on serverfault and on > stackexchange's video site - but have not found the solution to the problem. > i have looked into all the answers i have received so far and none have made > any diff

Re: Rerouting based on content-type of request

2015-08-06 Thread itpp2012
Close enough: http://forum.nginx.org/read.php?2,239473,239473#msg-239473 Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260830,260831#msg-260831 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Rerouting based on content-type of request

2015-08-06 Thread sudharshanr
I'm having a reverse-proxied Nginx server. I wanted to know if it is possible to redirect the request in Nginx based on the content-type of the request? Right now, I'm checking the URL for a keyword, and based on that, I redirect the request. So it is something like this: location ~*/(keyword){

Re: Configure core Python scripts into Nginx

2015-08-06 Thread Nitin Solanki
Hi, Which one is better to configure with Nginx? Please can you suggest me with steps. I explored more but didn't getting anything. It will be very helpful for me. If you guide me in steps. Thanks.. On Thu, Aug 6, 2015 at 11:44 PM mex wrote: > if you ask for something like mod_cgi from the a

Re: Configure core Python scripts into Nginx

2015-08-06 Thread mex
if you ask for something like mod_cgi from the apache-world, there is nothing like this; the following article might help to define requirements and find a solution: > https://www.digitalocean.com/community/tutorials/a-comparison-of-web-servers-for-python-based-web-applications Nitin Solanki W

Re: Configure core Python scripts into Nginx

2015-08-06 Thread Nitin Solanki
Hi all, I am not using any python framework. Generally, I use core python and making a call from php to python using AJAX. I found different ways to configure python with Nginx but they all have python framework integration. Any configuration, you have to follow for core python scripts Please help

Re: Configure core Python scripts into Nginx

2015-08-06 Thread mex
Ray Cote Wrote: --- > We use gUnicorn for our nginx/Django deployments. > Lots of good guidance on the gUnicorn site: > http://gunicorn-docs.readthedocs.org/en/latest/deploy.html > nginx is their deployment of choice... > -Ray > gunicorn (+nginx

Re: Configure core Python scripts into Nginx

2015-08-06 Thread Ray Cote
We use gUnicorn for our nginx/Django deployments. Lots of good guidance on the gUnicorn site: http://gunicorn-docs.readthedocs.org/en/latest/deploy.html nginx is their deployment of choice... -Ray On Thu, Aug 6, 2015 at 9:49 AM, Yichun Zhang (agentzh) wrote: > Hello! > > On Thu, Aug 6, 2015 at

Re: Configure core Python scripts into Nginx

2015-08-06 Thread Yichun Zhang (agentzh)
Hello! On Thu, Aug 6, 2015 at 2:51 PM, Nitin Solanki wrote: > Which should I use fastcgi or uwsgi. It's generally believed that uwsgi is better. > I tried uwsgi but not > succeed. Can you help to sort out my problem. Shall you please send me steps > to configure python with Nginx. > As the main

Re: mp4 streaming/seeking works from firefox (fedora) and not from firefox (windows) (nginx 1.9.3)

2015-08-06 Thread tunist
i have now created question on this topic on serverfault and on stackexchange's video site - but have not found the solution to the problem. i have looked into all the answers i have received so far and none have made any difference to the fact that my server is not reliably serving video. all my M

Re: Execute python files with Nginx

2015-08-06 Thread Nitin Solanki
I tried that and getting issues. Unable to configure. I am not getting those steps. Any help you can do by explaining in steps... On Thu, Aug 6, 2015 at 5:19 PM Alt wrote: > Hello, > > I've never used python with nginx, but there are some examples on how to > configure everything here: > http://

Re: Execute python files with Nginx

2015-08-06 Thread Alt
Hello, I've never used python with nginx, but there are some examples on how to configure everything here: http://wiki.nginx.org/Configuration#Python_via_FastCGI Best Regards Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260817,260818#msg-260818 _

Execute python files with Nginx

2015-08-06 Thread Nitin Solanki
Hello, How can we execute python files with Nginx? Anybody can help me to give steps by steps to follow. In Apache, it is very easy to execute python files but in python, I am trying from last 2 days and nothing happening. Any Idea how to use "uwsgi" ? __

Re: Problem with NGINX on MIPS processor

2015-08-06 Thread mynidiravichandra
Thanks, Maxim. It was a problem in SSL code. Ravichandra Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260725,260814#msg-260814 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx