Trying to get multiple server blocks working
I'm working on CentOS 6.4, Nginx 1.0.15 with php and mysql.I have two hosts I have in mind, www.domain1.com and sub.domain1.com. The default server had been set to localhost and it works just fine. The...
View Articlefastcgi location in conf and spawn-fcgi (FreeBSD)
I have some progress and corrections:* I better understand some of the diferences between php-fpm and spawn-fcgi. spawn-fcgi was a left-over startup script from the older php version it seems. I am now...
View ArticleRe: Cannot stop nginx service on windows.
You have to kill the process with taskkill or pv.exe from prcview tools.
View ArticleRe: nginx 1.2.9 (Windows) worker memory footprint
See attachment, nginx 1.4.2 with worker_connections limit removed, geo-pooled php 5.4.17 nts, xcache 3.0.3, each process runs under a very restricted unique user, keeps on running for weeks without...
View ArticleRe: Trying to get multiple server blocks working
Okay, I feel like an idiot right now ... and I can't blame on lack of sleep either ....The problem was with root setting where I have the wrong spelling, nginx with ngnix .... Garrrrrrr ... two days of...
View ArticleRe: Cannot stop nginx service on windows.
Thanks ipp2012,I tried with tasklist and Task Manager but nginx disappear on those list and port 80 is still open.Is this a bug of nginx on windows ?
View Articlehow to deny access to scripts in some directories
Hi,I'm running nginx with php-fpm and a lot of application. I would like to secure my installation by denying access to scripts in some directories and I'm not able to achieve it, can anyone help...
View ArticleRedirect http://site.com/? to http://site.com
Greetings!I'd like to create redirect like http://site.com/? to http://site.com (http://site.com/? can contain anything after ?: e.g. http://site.com/?iwjekjwbefkjwe).I've added stringrewrite /?...
View ArticleRe: Cannot stop nginx service on windows.
I prefer to use pv.exe to kill the processes, always works, why port 80 remains open could be taskman specific as there are minimal 2 nginx processes.I do consider this a nginx bug, but the windows...
View ArticleRe: nginx 1.2.9 (Windows) worker memory footprint
Why the file won't show, no idea, but here's an alternative link to the attachment:http://imagebin.ca/qpQhhYjvVzZ/ngphp.jpg
View ArticleRe: Cannot stop nginx service on windows.
Simply via a cmd file:rem Attempt to abort cleanlynginx -s stoprem stop the service that started itnet stop "NGinxWS"rem Send a kill just in casepv -kf nginx*
View ArticleUseing local conf file
I want to "rewrite module", but nginx.com, since I use shared hostingMy account root is : /home/user/My web page root is /home/user/www/Site is here: http://user.site.netWhat I can do?Since it is so...
View ArticleConditional root directory
Hello, I would like to implement conditional root directory in nginx. If one directory exists, nginx will use it as root dir, otherwise, different dir will be used. Here is my solution so far:server...
View ArticleRe: Conditional root directory
Looks like your root and document_root are not set properly when using fallback.
View ArticleRe: Conditional root directory
Isn't $document_root equal to $root? Anyway, any idea how to solve it?
View ArticleRe: Conditional root directory
It should be when root is set properly, when you get " No input file specified" it means php can't find the php file so doc root is pointing to a wrong path, there should be a way to display where root...
View ArticleReplace object in nginx
hello minds ,i used nginx for caching youtube videos,now i want to use an option that when the harddisk is full it will start replacing the old object to the new ones like in squid there is an option...
View Articleсheck the CPU load
Hi. Tell me, how did you find out the percentage of processor time, when the on and off gzip?thx, so much!
View ArticleRe: How to recover photo and files from hard disk, memory card and Android...
Your deleted data might be on the Android phone internal memory or sd card. It is mostly straight forward to recover lost data if you had data on the sd card. This would be same as restoring from...
View Article