Hi, One of the devs for 'GeSHi - Generic Syntax Highlighter' replied back and offered to include the nginx language file in the official distribution if someone is willing to cleanup some of the issues preventing the file from passing the language tests: http://sourceforge.net/tracker/?func=detail&atid=670234&aid=3554024&group_id=114997 I don't feel I have the necessary skillsby deoren - Nginx Mailing List - English
After looking over the docs (see links below) , I would use wild cards instead of regular expressions if your needs are simple enough: location ~ \.(gif|png|jpg|jpeg)$ { valid_referers none blocked server_names *.google.com *.bing.com *.yahoo.com *.feedburner.com; expires 96h; if ($invalid_referer) { rewrite .* http://image-hosting.com/nohotlinking.png redirect; } } Based on what Iby deoren - Other discussion
> Has it occurred to anyone else that 'Stable' releases tend to be behind the 'Development' branch lately? Isn't that the way it is with any software product? The development branch will see new features faster and more releases will be made in order to help catch problems early in the development cycle?by deoren - Other discussion
What user is your php-fpm setup running as? If I had to guess I'd say it's not asterisk. Have you checked the contents of the log file for your php-fpm setup? I use Ubuntu instead of Debian, so my setup may be a little different than yours. In my case, the php-fpm log file is /var/log/php5-fpm.log. The process when it is running is php-fpm and if you grep your processes you should see the coby deoren - Other discussion
I'd check the php error log for more information. In my setup I have the php.ini for php-fpm setup to send errors to syslog, which in turn routes them to a specific file that I check. You can also configure php to log directly to a file, provided that the file has the correct permissions set (usually owned by the user that you run php-fpm as, 640). I'd check that file and the php-fpm logby deoren - How to...
I still consider myself new to nginx, so hopefully someone else will reply with better feedback, but, this is how I would do it: location / { root /srv/data/p-kflirt; proxy_store on; proxy_store_access user:rw group:r all:r; proxy_temp_path /tmp/image; # if local server don't has the photo take it from the other try_files $uri $uri/ @photoproxy; index indeby deoren - How to...
I found that comment here on the wikI: http://wiki.nginx.org/HttpCoreModule#location Is that still true? Because on this page: http://nginx.org/en/docs/http/ngx_http_core_module.html#location It mentions: "In versions from 0.7.1 to 0.8.41, if a request matched the prefix location without the “=” and “^~” prefixes, the search also terminated and regular expressions were nby deoren - How to...
Hi Cliff, Do you have a recent copy of the nginx.php GeSHi language file? I opened a request at the SourceForge project tracker here ( https://sourceforge.net/tracker/?func=detail&aid=3554024&group_id=114997&atid=670234 ) to have the copy you've already provided added, but if there is a newer file I'd like to provide it to them. Do you happen to have it in a repo somewhere? I looby deoren - Nginx Mailing List - English