I have many virtual paths on one nginx server. What I mean by this is
there can be many top level paths, where each one has a cookie, static
files, and a upstream server. The way I am doing it now is just
duplicate every path.
Is there a way to do this 'faster' 'less writing' 'better'? I
Hello!
On Thu, Sep 26, 2013 at 10:34:46PM +, Eric Tyrer wrote:
Problem i have is that after attempting to login to wordpress over SSL php is
not being processed/executed.
I've got a Wordpress 3.5 multi-site using subdirectories.
[...]
nginx handles requests fine through port 80
Hello!
On Fri, Sep 27, 2013 at 10:45:34AM +1200, Steve Holdoway wrote:
OK, the problem is that you're listening on *http* on port 443. You need
to use
listen 443 ssl [default];
for ssl.
The config posted uses ssl on, which is a valid way to configure
ssl on all sockets used in
Hi guys!
Our small Russian company (flant.com) is pleased to announce new module
called nginx-http-rdns.
As you can see from its name, the main feature of this module is making
reverse DNS lookups to get DNS name of client's IP address.
Features:
* usual rDNS lookup (saving result in
i have a question regarding the --with-debug - option; do i have to expect
much overhead,
when compiling nginx with that option, but have it disabled per default?
i'd like to have it at hand for debugging certain issues every then and
there.
regards,
mex
Posted at Nginx Forum:
From what I've seen here there is a small 5% overhead when compiled with
debug and 5-10% while debug logging is active. I want my 5% :) so I make 2
versions.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,243201,243202#msg-243202
___
nginx
Hi,
I posted this on stackoverflow already but I thought I might have more luck
here :)
http://stackoverflow.com/questions/19023777/how-to-make-proxy-revalidate-resource-from-origin
In short, I can't find a way to make nginx revalidate a cached resource
with the origin. Whenever nginx is in
On Sep 27, 2013, at 7:09 PM, Thijs Koerselman thijskoersel...@gmail.com wrote:
Hi,
I posted this on stackoverflow already but I thought I might have more luck
here :)
http://stackoverflow.com/questions/19023777/how-to-make-proxy-revalidate-resource-from-origin
In short, I can't find a
Here's a fix for a typo;
ngx_http_rdns_module.c
-l709
static void dns_handler(ngx_resolver_ctx_t * rctx) {;
+l709
static void dns_handler(ngx_resolver_ctx_t * rctx) {
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,243191,243213#msg-243213
On Fri, Sep 27, 2013 at 04:22:25AM -0700, Shaun Savage wrote:
Hi there,
None of what follows is tested by me. So double-check before committing
to anything :-)
I have many virtual paths on one nginx server. What I mean by this is
there can be many top level paths, where each one has a
Hello
I'm currently developing a new module and it's frustrating having to
recompile every module each time. How can I skip all modules but my new one
and then link the pre-existing object files?
Does anyone have any other tips to streamline the module development /
testing cycle?
Thanks
Arran
details: http://hg.nginx.org/nginx/rev/e65be17e3a3e
branches:
changeset: 5391:e65be17e3a3e
user: Maxim Dounin mdou...@mdounin.ru
date: Fri Sep 27 16:50:13 2013 +0400
description:
Upstream: proxy_no_cache, fastcgi_no_cache warnings removed.
diffstat:
details: http://hg.nginx.org/nginx/rev/f1caf7b8ae1d
branches:
changeset: 5392:f1caf7b8ae1d
user: Maxim Dounin mdou...@mdounin.ru
date: Fri Sep 27 16:50:26 2013 +0400
description:
Upstream: subrequest_in_memory fix.
With previous code only part of u-buffer might be emptied in case
of
details: http://hg.nginx.org/nginx/rev/8c827bb1b2b6
branches:
changeset: 5394:8c827bb1b2b6
user: Maxim Dounin mdou...@mdounin.ru
date: Fri Sep 27 16:50:40 2013 +0400
description:
FastCGI: non-buffered mode support.
diffstat:
src/http/modules/ngx_http_fastcgi_module.c | 238
details: http://hg.nginx.org/nginx/rev/1a070e89b97a
branches:
changeset: 5393:1a070e89b97a
user: Maxim Dounin mdou...@mdounin.ru
date: Fri Sep 27 16:50:34 2013 +0400
description:
Upstream: subrequest_in_memory support for SCGI and uwsgi enabled.
This was missed in 9d59a8eda373 when
details: http://hg.nginx.org/nginx/rev/a720f0b0e083
branches:
changeset: 5395:a720f0b0e083
user: Maxim Dounin mdou...@mdounin.ru
date: Fri Sep 27 19:39:33 2013 +0400
description:
SSL: adjust buffer used by OpenSSL during handshake (ticket #413).
diffstat:
Добрый день.
В функции ngx_epoll_process_events() есть такой участок кода:
for (i = 0; i events; i++) {
c = event_list[i].data.ptr;
instance = (uintptr_t) c 1;
c = (ngx_connection_t *) ((uintptr_t) c (uintptr_t) ~1);
rev = c-read;
if (c-fd == -1 ||
Всем привет.
Как передать доменное имя джейбосу, и как его получить?
Сейчас сервер запущен как демон коммандой ./standalone.sh
Конфиг файл, вернее его часть
location ~ /myapp/ {
proxy_pass http://127.0.0.1:8080;
}
пытался получить имя домена, по которому
Дык установи заголовок Host в что тебе надо... :)
2013/9/27 Vurtatoo nginx-fo...@nginx.us
Всем привет.
Как передать доменное имя джейбосу, и как его получить?
Сейчас сервер запущен как демон коммандой ./standalone.sh
Конфиг файл, вернее его часть
location ~ /myapp/ {
On Fri, 27 Sep 2013 16:29:50 +0400
Dmitry Shurupov dmitry.shuru...@flant.ru wrote:
Всем привет!
Представляю вниманию сообщества модуль nginx-http-rdns, реализующий
простой механизм контроля доступа по доменному имени клиента (имя
определяется по результатам выполнения обратного
On Fri, 27 Sep 2013 16:52:40 +0400
Dmitry Shurupov dmitry.shuru...@flant.ru wrote:
On 27.09.2013 16:50, Peter B. Pokryshev wrote:
Привет. Нет обратки - значит бот?
Далеко не факт.
Я про тоже, а в чем защита от ддоса?
Вот от ддоса:
https://github.com/kyprizel/testcookie-nginx-module
On 27.09.2013 17:02, Peter B. Pokryshev wrote:
Я про тоже, а в чем защита от ддоса?
Вот от ддоса:
https://github.com/kyprizel/testcookie-nginx-module
Да, этим мы тоже пользуемся :-)
Нет утверждений, что nginx-http-rdns — самодостоточное решение защиты от
DDoS'а. Может использоваться как одна
Но после закрытия дескриптора, ядро автоматически удалит этот дескриптор из
своих структур и не будет по нему отслеживать события.
Ход событий в общем: воркер блокируется на epoll_wait(), по истечении
тайм-аута либо по получении nevent событий, воркер просыпается и в цикле
перебирает эти
Hello!
On Fri, Sep 27, 2013 at 11:32:20AM -0400, megalodon wrote:
Но после закрытия дескриптора, ядро автоматически удалит этот дескриптор из
своих структур и не будет по нему отслеживать события.
Ход событий в общем: воркер блокируется на epoll_wait(), по истечении
тайм-аута либо по
On Friday 27 September 2013 19:32:20 megalodon wrote:
Но после закрытия дескриптора, ядро автоматически удалит этот дескриптор из
своих структур и не будет по нему отслеживать события.
Ход событий в общем: воркер блокируется на epoll_wait(), по истечении
тайм-аута либо по получении nevent
Получается, что если в течение 1мс пришли 2 запроса, то второй будет
дропнут,
даже если в конфиге будет прописано 2000r/s?
Только при условии, что burst был исчерпан.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,10518,243214#msg-243214
Пытаюсь вникнуть в мысль: Мы могли закрыть соединение до того, как
добрались до обработки событий. Но где в промежутке между epoll_wait() и
итерацией цикла, в которой мы обрабатываем событие то место, где мы можем
потенциально закрыть сокет?
events = epoll_wait(ep, event_list, (int) nevents,
Все, осознал: воркер, получив очередной event_list[] и обрабатывая некоторое
событие может закрыть также и другой дескриптор, связанный с обрабатываемым,
причем событие с этого другого закрываемого дескриптора также могло попасть
в этот event_list[], и пока мы до него доберемся, структура, которая
On Friday 27 September 2013 21:26:13 megalodon wrote:
Все, осознал: воркер, получив очередной event_list[] и обрабатывая
некоторое событие может закрыть также и другой дескриптор, связанный с
обрабатываемым, причем событие с этого другого закрываемого дескриптора
также могло попасть в этот
29 matches
Mail list logo