Create an account and just edit the wiki page.by Ensiferous - Nginx Mailing List - English
It's old code left in.by Ensiferous - Nginx Mailing List - English
I have documented most of the causes of this here: http://blog.martinfjordvald.com/2011/01/no-input-file-specified-with-php-and-nginx/ Chances are your issue is in there as well.by Ensiferous - Nginx Mailing List - English
In addition to what Maxim said some people do not realize that not all headers are created equally and that something as inane as underscores versus dashes causes it to break RFC and nginx need you to explicitly tell it that that's okay: http://nginx.org/en/docs/http/ngx_http_core_module.html#underscores_in_headersby Ensiferous - Nginx Mailing List - English
No it doesn't. You will need to specify all the locations.by Ensiferous - Nginx Mailing List - English
Stop using a browser to test with and instead do curl -I Browsers cache, always.by Ensiferous - Nginx Mailing List - English
w00t Wrote: ------------------------------------------------------- > This seems odd. If it wasn't meant for Nginx to process uploaded > files, then it couldn't have processed them by itself. > For example, I changed > location @test { > proxy_pass http://example.com:8080; > > to > location @test { > default_type text/html; > root /wby Ensiferous - Nginx Mailing List - English
I'm not sure you can really do what you want to. The upload module was not designed for this purpose. If you want to do this you either need to modify the source of the upload module or perhaps you can handle such logic by using the lua module to script what to do with the file uploads.by Ensiferous - Nginx Mailing List - English
Multi threading support was removed from nginx a long time ago, there might be a few traces left in the source code but it's not functional.by Ensiferous - Nginx Mailing List - English
Your backend is responsible for returning the proper data, it can't return the entire data and then expect nginx to send only part of it. What you should actually do, if at all possible, is to use the x-accel-redirect to direct nginx to the content location so that it can read the file itself instead of getting it from your backend.by Ensiferous - Nginx Mailing List - English
The right way is to add the auth basic directives to the PHP location as nginx will only ever execute one location. So in your pasted config, if nginx gets a request for /passwordprotected/index.php then it won't be protected. Of course, if you only want PHP files in that directory to be protected then you need a 2nd PHP location.by Ensiferous - Nginx Mailing List - English
This might apply to you: http://forum.nginx.org/read.php?2,219822,219822#msg-219822by Ensiferous - Nginx Mailing List - English
Additionally the Windows version of the event polling which enables high performance on unix is called IOCP and is not supported last I checked. So you would basically be using select(). Windows support is very preliminary and while I can't speak for the development team, I don't think it's supposed to be used for anything other than development or testing. -Martin Fjordvaldby Ensiferous - Nginx Mailing List - English
It doesn't matter whether you use if or try_files. If people would actually read the if is evil page then it specifically states that "It is important to note that the behaviour of if is not inconsistent, given two identical requests it will not randomly fail on one and work on the other, with proper testing and understanding ifs can be used." If you prefer if then use an if, if you pby Ensiferous - Nginx Mailing List - English
Have you tried simply disabling the buffers? http://wiki.nginx.org/HttpFcgiModule#fastcgi_buffersby Ensiferous - Nginx Mailing List - English
It'll automatically use the best one available. Unless you're on some embedded system which might have an old kernel then you really don't need to worry about this at all.by Ensiferous - Nginx Mailing List - English
If you are having PHP read the file directly then Nginx is not responsible for the file sending and as such your PHP application needs to implementing range requests. Ideally, you should be using x-accel-redirect to have Nginx handle the file sending once PHP is done.by Ensiferous - Nginx Mailing List - English
To quote Igors original post: "If you use 3rd-party mp4 module, it should be removed."by Ensiferous - Nginx Mailing List - English
Hi, Nginx does not embed PHP into its own process like Apache does, this mean that Nginx has no effect on the execution of PHP and if word press plugins do not work then it's either due to the plugins relying on Apache via mod_rewrite or because you have misconfigured PHP. If it's a mod_rewrite problem then we can potentially help, but we'll need to know what it expects from .htaccess, if itby Ensiferous - Nginx Mailing List - English
You will want to bring this up to the PHP people as there is no link between Nginx and PHP-FPM. There is a fastcgi abstraction layer between them. That said, they have deprecated PHP 5.2.x and PHP-FPM for 5.2.x is a patch so I honestly think you'll be told to upgrade first and then see what happens, so you might want to do that first.by Ensiferous - Nginx Mailing List - English
So to post a link that Igor posted a few days earlier, Please see this page: http://nginx.org/en/docs/welcome_nginx_facebook.htmlby Ensiferous - Nginx Mailing List - English
$request_filename will change when you rewrite the request, even if you just do an internal rewrite. $request_filename is defined as root or alias directive + current URI. So if you have a root defined as /var/www/testsite and you redirect to index.php then you'll get /var/www/testsiteindex.php URIs in Nginx always start with a / so it's generally a good idea to rewrite to /index.php insteaby Ensiferous - Nginx Mailing List - English
Hi, Nginx is not capable of dynamically changing the uuid, however, it is fairly light on memory so you can do this by running an instance of nginx per user.by Ensiferous - Nginx Mailing List - English
Hi In your try_files in location / you have $uri/ as your second option. This means that it will try to read the URI as a directory. Since you do not have an index directive defined it will instead try to list the content of the directory, which is not allowed by default. You need to define an index directive http://wiki.nginx.org/HttpIndexModule#index either in your location block or furtheby Ensiferous - Nginx Mailing List - English
Hi, Nginx is not a hosted service, you need to talk to your hosting provider about Nginx. This mailing list is for help with installing and configuring Nginx. Sincerely, Martin Fjordvaldby Ensiferous - Nginx Mailing List - English
Nginx does not have the ability to execute anything and while I do not know the roadmap for Nginx I highly doubt this is even a planned feature. As far as I'm aware it's intentionally done like this for security reasons.by Ensiferous - Nginx Mailing List - English
That's a lot of debugging when you could just have read the wiki instead: http://wiki.nginx.org/HttpFcgiModule#fastcgi_buffers "If you want to disable buffering to disk for all replies that are greater than the FastCGI buffers and transfer data synchronously to the client set fastcgi_max_temp_file_size to 0."by Ensiferous - Nginx Mailing List - English
it's mod_pagespeed just a bad excuse for having a shitty deployment process? Basically you want to waste CPU and IO on run-time optimizations that could be done during deployment?by Ensiferous - Nginx Mailing List - English
Currently Nginx does not support chunked responses from backend servers. There is a patch available in the dev forum/mailing list,however it is still considered experimental and you'll have to apply it to the source yourself. If you do not want to do this then you must force Apache to never return chunked responses, that's the only way this will work.by Ensiferous - Nginx Mailing List - English
Kinda light on details, will need a more complete config as well as an example URI being accessed.by Ensiferous - Nginx Mailing List - English