Hi, the "nginx.service" file shipped with systemd rpm's both in nginx's stable repository and epel for CentOS7 / RHEL7 do not perform a "configtest" when "systemctl reload nginx" is issued. So if there is an error in the configuration file nginx is killed but not started due to the faulty configuration. It's possible to mitigate this in the nginx.service file by havby Per Hansson - Nginx Mailing List - English
Thanks Maxim, you are correct about not making the /mail location a regex, it solves the problem. As for the core dump I compiled v1.9.3 with your patch and can confirm it no longer crashes with the original config. But as you suspected the config anyway does not work without removing the regex for the /mail location... Thanks for the quick fix!by Per Hansson - Nginx Mailing List - English
Hi, after upgrading from the v1.6.3 to v1.8.0 stable branch an alias I used for Roundcubemail no longer works. I traced the issue back to a probable change made in nginx v1.7.1: "Bugfix: the "alias" directive used inside a location given by a regular expression worked incorrectly if the "if" or "limit_except" directives were used." In version 1.6.3 andby Per Hansson - Nginx Mailing List - English
I second this request, it would be very welcome :)by Per Hansson - Nginx Mailing List - English
Thanks for the push in the right direction. I moved the forum archive files into a subfolder named "windows" and renamed the extensionless file previously named "windows" to "index.php" With this nginx conf it is now working fine on my testserver after setting up the correct new path to include files in the global.php file (this will be of use to any other users oby Per Hansson - Php-fpm Mailing List - English
I just realized that if I pass my extensionless PHP request to php-cgi instead of php-fpm it works fine in the latest version of PHP (v5.3.5) I guess some check must have been added to php-fpm in versions >0.6.0 preventing it from processing a file with no file extension...? In either case I've continued to look for a changelog for php-fpm or anything on this matter but found nothing, quite aby Per Hansson - Php-fpm Mailing List - English
Hi Rus, Yes, everything else on the site works great. All normal PHP files are processed by php-fpm just fine... I prefer to keep our vBulletin archive this way so that old links to our website are not broken, of course I could rename the file on the filesystem to something else but I want the URL to remain unchanged. I tried to get it working now like that (i.e. windows.php file on filesysteby Per Hansson - Php-fpm Mailing List - English
Hi Russ, Yea, I tried running php-fpm with "debug" logging enabled but nothing is written in the logfile when I access this URL... Per Hanssonby Per Hansson - Php-fpm Mailing List - English
Hi, I've got a site with a vBulletin forum. For our forum archive we have a custom solution where a PHP file with no extension is called to create some SEO friendly pretty URL's... You can see it live here; http://www.techspot.com/vb/all You will get redirected to a path ending in "windows" this is the PHP file... This works fine in PHP v5.3.2 and lower It also works fine in PHPby Per Hansson - Php-fpm Mailing List - English
Hi again, I've tried to figure this out best I can but failed so far :( What I find is the last thing in the access log, we have a status code of "200" so everything is correct However the byte size sent to the client is only 31 bytes, it should be 1740 bytes... When I do "view source" in the client browser I see nothing, and the page itself is just a white page It is asby Per Hansson - Nginx Mailing List - English
This is a slimmed config showing the relevant section for testing; http://pastebin.com/wptPaLms I can't upload the file "windows" because it is not open source (vBulletin code) But you can just create a small "HELLO WORLD" PHP file, or phpinfo file or similar and get the exact same behavior...by Per Hansson - Nginx Mailing List - English
Thanks for your input Igor I tried your config but I get a download prompt for the file "windows" if I enter the URL as /vb/all/windows Also just as you said it does not help with the php-fpm problem, i.e. that it works fine in 0.6.0 but not 0.6.5...by Per Hansson - Nginx Mailing List - English
Hi, I'm having a problem with nginx after upgrading php-fpm from PHP version 5.3.2 > 5.3.3 (internal php-fpm version 0.6.0 > 0.6.5) After doing the upgrade a "pretty URL's" fastcgi_pass I use no longer works, now php-fpm does not care about the URL's, so it is very strange if that would be the culprit, I've asked the php-fpm guys without getting anywhere, I've also looked for it'sby Per Hansson - Nginx Mailing List - English
Hi Dounin, thanks for the link I have actually read it more than once before but it helps when someone puts it in context for you! So in other words my first location; location ~* \.(jpg|jpeg|gif|css|png|ico|js)$ { expires 7d; } It will serve all files with that file extension and then no other matches or locations will be used, I've got that right? In that case I guess we will have aby Per Hansson - Nginx Mailing List - English
Hi, I am trying to use the try_files directive for rewrites together with the Expires directive but when I do file extensions which are included by the expires directive are ignored by my try_files directive, it seems like they are served directly... Here is an example config; http://pastebin.com/m4c4819a0 Note that files named .js are included in the expires directive and that URL's that haveby Per Hansson - Nginx Mailing List - English