variable which catch current directory of vhost config
Hi,I would like to do something like this:I have got my website at this directory/home/www-data/my-domain.comi have got my vhost config at/home/www-data/my-domain.com/nginx.configI have got at...
View ArticleRe: Updated hotlink protection with new Google Image Search
On 22/02/2013 5:51 AM, Namson Mon wrote:> Hi Ian, we've just published an extensive blog post about how to achieve> this kind of hotlinking protection against Google Images:>>...
View ArticleRe: shell environment variables in "include"-directive not working
Just wanted to respond that I had the similar need, and hopefully abetter solution. We too have dev, staging, prod, and the configurationsare similar, but not identical.We have hundreds of servers, and...
View ArticleRe: Подскажите как запретить доступ к POST с определенных IP
23.02.2013 18:54, Maxim Dounin пишет:> Hello!>> On Sat, Feb 23, 2013 at 02:30:21PM +0200, Станислав wrote:>> [...]> Сделав ровно то, что написано выше - написав правила allow/deny...
View Articlemod_auth_request + php5-fpm gives error 504 on POST requests, GET requests...
Setup: php5-fpm listening on socket + nginx 1.2.6Wanted to use mod_auth_request for www authentication. Works fine for GET requests, POST requests time out with error 504.Error log:2013/02/24 00:13:03...
View Articleany ways to provide safe configuration access to users?
Greetings,I'm currently working on an open source deployment stack that will work a bit like cpanel, but for nginx instead of apache. At the moment vhost files are separated into separate files. I want...
View ArticleRe: Updated hotlink protection with new Google Image Search
for those using wordpress, WP-PICShield can be helpful, do almosteverything you want or not :)- Pass-Through Images Request- Caching Support,- Custom image transprency- Anti-IFRAME Protection,- Custom...
View Articleload balancing multi domanis error 500
HiI'm sorry for my english first!So I have(for now, after more) 2 domains and 2 vps for nginx and 2 vps for mysql in loabalacing, when I put first domain everthing work fine with subdomain to.2 vps...
View ArticleRe: Помогите написать location (urlencode)
>Если запрос приходит в таком виде, то это уже не параметры, а имя запрошенногофайла.Именно так, если ничего не сделать выдаст по понятным причинам 404 по такому запросу.>Должно...
View Articlefcgi_cache+ssi = subrequests cycle while processing
Добрый день, ситуация следующаяхочу использовать SSI для подключения мелких файлов без кэша с X-Accel-Expires 0и ловлю такую ошибку:2013/02/23 21:15:26 [error] 14107#0: *1 subrequests cycle while...
View ArticleRe: load balancing multi domanis error 500
I'm sorry I fix this problemEasy the real directory was /usr/share/nginx/xvideox and the directory pointing in nginx was /usr/share/nginx/xvideoxmy faultThank you
View ArticleRe: aio + directio
On Feb 24, 2013, at 0:32 , alexander_koch_log wrote:> Hi,>> Quoting "http://nginx.org/en/docs/http/ngx_http_core_module.html#aio">>> (....)Reading of unaligned file’s end is still...
View ArticleRe: Подскажите как запретить доступ к POST с определенных IP
On Feb 23, 2013, at 20:54 , Maxim Dounin wrote:> Hello!>> On Sat, Feb 23, 2013 at 02:30:21PM +0200, Станислав wrote:>>> 23.02.2013 13:35, Maxim Dounin пишет:>>>...
View ArticleRe: Подскажите как запретить доступ к POST с определенных IP
On Feb 23, 2013, at 19:12 , Andrey Repin wrote:> Здравствуйте, Уважаемый(-ая, -ое) Maxim Dounin!>> MD> Hello!>> MD> On Sat, Feb 23, 2013 at 01:26:30PM +0200, Станислав...
View ArticleRe: Updated hotlink protection with new Google Image Search
On Fri, February 22, 2013 5:51 am, Namson Mon wrote:> Hi Ian, we've just published an extensive blog post about how to achieve> this kind of hotlinking protection against Google Images:just...
View ArticleОбновление на новую версию
Привет!Ставил nginx из пакетов на Ubuntu. была версия 1.2.6. установил поверх 1.2.7.пишу nginx -v, оно мне выдает:The program 'nginx' can be found in the following packages:* nginx-extras* nginx-full*...
View ArticleRe: Обновление на новую версию
24 февраля 2013 г., 10:39 пользователь Namaste <nginx-forum@nginx.us> написал:> Привет!>> Ставил nginx из пакетов на Ubuntu. была версия 1.2.6. установил поверх> 1.2.7.> пишу nginx...
View ArticleRe: Обновление на новую версию
apt-get install --reinstall nginx-common не сработало:Reading package lists... DoneBuilding dependency treeReading state information... DoneYou might want to run 'apt-get -f install' to correct...
View ArticleRe: Обновление на новую версию
Хм.. обновился.. но nginx не запускаетсяservice nginx restart:* Restarting nginx* Stopping nginx nginx [ OK ]* Starting nginx nginxnginx: [emerg] bind() to [::]:80 failed (98: Address already in...
View Article