Coronavirus é Acidente de Trabalho?

Coronavirus é Acidente de Trabalho? O STF suspendeu artigo da MP 927 que determinava que casos do novo coronavírus não eram considerados ocupacionais

O STF suspendeu artigo da MP 927 que determinava que casos do novo coronavírus não eram considerados ocupacionais

Após sessão virtual, realizada na quarta-feira, dia 29, o Supremo Tribunal Federal (STF) suspendeu dois artigos da medida provisória 927/2020, a qual determinou flexibilizações da lei trabalhista durante a pandemia do novo coronavírus.

A maioria seguiu o relatório do ministro Marco Aurélio de Mello para suspender os artigos 29 e 31 da MP. Enquanto o segundo falava da atuação de fiscais do trabalho, o primeiro considerava que a contaminação por coronavírus não poderia ser considerada como relacionada ao trabalho, “exceto mediante comprovação do nexo causal”.

O advogado trabalhista Pedro Maciel, sócio do escritório Advocacia Maciel, comenta que a decisão tira da MP uma questão que nunca existiu antes. Para ele, o texto apresentado pelo governo deixa a questão muito aberta.

“O artigo dizia ‘não é acidente, a não ser que se prove’, isso coloca a doença ocupacional como uma exceção. O que pode não ser verdadeiro para trabalhadores essenciais e atuando na linha de frente contra a doença. A decisão do STF vem como uma proteção a esse trabalhador”, diz o advogado.

No entanto, Maciel não acredita que a suspensão do artigo abra a possibilidade de que qualquer trabalhador declare que um diagnóstico de covid-19 seja relacionado ao trabalho.

Pela facilidade de contágio, é mais difícil comprovar que o contato com o vírus tenha ocorrido por causa de uma atividade na empresa. “Uma pessoa fazendo teletrabalho, por exemplo, tem mais chance de pegar a doença por sair do isolamento ou por meio de um parente”, explica ele.

O caso se torna diferente quando o ambiente de trabalho é o foco de contágio, como um hospital.

“Um médico dentro de um hospital tem uma discrepância entre a probabilidade de pegar no ambiente de trabalho e a de pegar de um parente em casa”, fala ele.

A mesma proteção pode ser aplicada a funcionários de empresas que mantiverem as atividades, contrariando medidas de quarentena dos governos estaduais e municipais. Ou de empresas que não fornecerem equipamentos de proteção, como máscaras e álcool em gel.

Segundo o advogado, o efeito prático da mudança pode ser na segurança de estabilidade de emprego para os trabalhadores essenciais que ficarem doentes.

Ao comprovar acidente de trabalho, a pessoa tem direito a 15 dias de afastamento pagos pela empresa e a auxílio pago pelo INSS a partir do 16º dia. Após o período fora de serviço, o funcionário tem 12 meses de estabilidade no emprego e não pode ser dispensado sem justa causa.

Como exemplo, Maciel cita novamente profissionais da saúde que tiverem covid-19 e precisarem ser afastados. A caracterização como doença ocupacional evita a demissão da pessoa.

Outro efeito seria o maior cuidado dos empregadores para fornecer equipamentos de segurança a todos os funcionários.

Com a chance do coronavírus ser doença ocupacional, a falta de distribuição de álcool em gel e de máscaras pode mostrar a vulnerabilidade do trabalhador e ser uma prova da responsabilidade da empresa.

O advogado diz que sua firma ainda não recebeu nenhum caso relacionado ao tema e ainda deve demorar para ter uma análise de como a decisão será interpretada. “Temos que esperar para ver como a Justiça vai atuar nesse caso”, explica ele.

Studying From Home

Studying From Home: Well… the countdown to ~virtual~ finals is on. We might not physically be in class, but we still gotta pass, amirite?

We got U with these 5 tips (plus tons of deals) that’ll help you make the most of studying from home.

CREATE A ZEN WORKSPACE

A dedicated, comfortable, and quiet workspace can work wonders for your concentration. We have tons of home deals to help you plan the perfect space.

GET DRESSED

Get dressed

‘Cuz you can only wear pajama pants and oversized sweatshirts for so long. Treat yo’self to a fresh outfit and get fully dressed before you study—it might help

more than you think.

ENJOY YOUR EXTRA TIME

Enjoy your extra time

You don’t need to bake bread or become the next Picasso, but you could try a new workout. Plus, endorphins make you

study better, right?!

STAY IN TOUCH

Stay in touch

Call classmates, professors, or family members for extra help. Or just to say hi. And while you’re at it, you can grab some

new gear here.

RELAX

Stay in touch

You might not think you need to take mental (or physical) breaks from studying, but you do. Take a breath, take a break. Turn off your phone. U can do this.

Bloquear Anúncios por DNS

Bloquear Anúncios por DNS: O DNS do AdGuard é uma solução alternativa para bloqueio de anúncios, proteção de privacidade e controle parental. Fácil de configurar e de usar, oferece uma proteção mínima necessária contra anúncios, rastreadores e phishing. Independentemente da plataforma e dispositivo que você estiver usando.

Bloquear Anúncios por DNS

Bloquear Anúncios por DNS

O DNS do AdGuard é uma solução alternativa para bloqueio de anúncios, proteção de privacidade e controle parental. Fácil de configurar e de usar, oferece uma proteção mínima necessária contra anúncios, rastreadores e phishing. Independentemente da plataforma e dispositivo que você estiver usando.

Bloqueia anúncios em qualquer lugar
Isso inclui anúncios em vídeo, anúncios em aplicativos, jogos e qualquer site que você possa imaginar. Dezenas de filtros de anúncios estão disponíveis para você e são atualizados regularmente, garantindo a maior qualidade de filtragem.

Protege sua privacidade

Valorizamos a privacidade dos seus dados pessoais acima de qualquer outra coisa. Com o AdGuard, você estará salvo de rastreadores online e sistemas analíticos que se escondem na internet tentando roubar suas informações confidenciais. Obviamente, isso acontece sem registrar as ações dos usuários. O AdGuard não armazena registros de consultas DNS.

Modo proteção familiar

Use o modo de proteção familiar para bloquear o acesso a todos os sites com conteúdo adulto e forçar o uso da pesquisa segura no navegador, além das vantagens regulares de bloqueio de anúncios e segurança de navegação.

Bloquear Anúncios por DNS​

Nenhum aplicativo é necessário
AdGuard DNS não requer instalação de nenhum aplicativo. Você pode usar em qualquer dispositivo Windows, macOS, Android.
Mapa de servidores DNS do AdGuard
Você está usando a configuração “Padrão” do DNS do AdGuard
Protocolo: “DNS”.

Guia de configuração
Com o AdGuard para iOS:
Baixe o AdGuard para iOS na AppStore. No menu principal do aplicativo, vá para opção Privacidade de DNS. Se você não tem a versão Premium, você irá precisar comprar para usar esta opção.
Ative a opção Privacidade de DNS, depois vá para seção Servidor.
Nesta opção, selecione o DNS do AdGuard ou DNS de Proteção familiar.
Faça manualmente:
Na tela incial, toque em Ajustes.
Selecione Wi-Fi no menu esquerdo (não é possível configurar o DNS em conexões de dados móveis).
Toque no nome da rede atualmente ativa.
No campo DNS insira nossos endereços DNS:
IPv4
Para servidores “Padrão”:
176.103.130.130
176.103.130.131
Para servidores “Proteção familiar”:
176.103.130.132
176.103.130.134
IPv6
Para servidores “Padrão”:
2a00:5a60::ad1:0ff
2a00:5a60::ad2:0ff
Para servidores “Proteção familiar”:
2a00:5a60::bad1:0ff
2a00:5a60::bad2:0ff
Atenção: os servidores DNS “Sem filtragem” fornecem uma conexão segura e confiável, mas eles não filtram nada semelhante aos servidores “Padrão” e “Proteção familiar”. Por favor, não os utilize, a menos que saiba o que está fazendo.
IPv4
Para “Sem filtragem”:
176.103.130.136
176.103.130.137
IPv6
Para “Sem filtragem”:
2a00:5a60::01:ff
2a00:5a60::02:ff
O DNS do AdGuard é uma maneira rápida e fácil de bloquear anúncios em qualquer dispositivo e proteger as crianças online.

From nginx-forum at nginx.us Sat Aug 1 01:57:05 2015

Hi, I want to build nginx into a shared library for this feature of

From nginx-forum at nginx.us Sat Aug 1 01:57:05 2015

nginx-clojure: https://github.com/nginx-clojure/nginx-clojure/issues/86 .

But i found that there’s memory leaks after stop server but without exit the

process. Then I tried valgrind to check a simple test without any 3rd party

module.

$ nginx -V

nginx version: nginx/1.8.0

built by gcc 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)

configure arguments: <none>

$

test.conf

=================start of test.conf==============================

daemon off;

master_process off;

error_log logs/error.log;

events {

worker_connections 1024;

}

http {

include mime.types;

default_type text/html;

access_log off;

sendfile on;

keepalive_timeout 65;

server {

listen 8081;

server_name localhost;

location /hello {

alias /nginx-clojure-embed/test/work-dir;

}

}

}

=================end of test.conf==============================

The result of valgrind is here:

$ valgrind –tool=memcheck –leak-check=full –show-leak-kinds=all

–leak-check=yes objs/nginx -c work-dir/test.conf -p work-dir

==10039== Memcheck, a memory error detector

==10039== Copyright (C) 2002-2013, and GNU GPL’d, by Julian Seward et al.

==10039== Using Valgrind-3.11.0.SVN and LibVEX; rerun with -h for copyright

info

==10039== Command: objs/nginx -c work-dir/test.conf -p work-dir

==10039==

-==10039==

==10039== HEAP SUMMARY:

==10039== in use at exit: 441,239 bytes in 148 blocks

==10039== total heap usage: 197 allocs, 49 frees, 613,884 bytes allocated

==10039==

==10039== 48 bytes in 1 blocks are still reachable in loss record 1 of 10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x403E9B: ngx_save_argv (nginx.c:817)

==10039== by 0x40434D: main (nginx.c:316)

==10039==

==10039== 128 bytes in 1 blocks are possibly lost in loss record 2 of 10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x40CAD2: ngx_crc32_table_init (ngx_crc32.c:117)

==10039== by 0x40452C: main (nginx.c:332)

==10039==

==10039== 151 bytes in 5 blocks are still reachable in loss record 3 of 10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x403EE7: ngx_save_argv (nginx.c:825)

==10039== by 0x40434D: main (nginx.c:316)

==10039==

==10039== 2,160 bytes in 1 blocks are still reachable in loss record 4 of

10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CACD: ngx_strerror_init (ngx_errno.c:60)

==10039== by 0x403F74: main (nginx.c:211)

==10039==

==10039== 3,030 bytes in 135 blocks are still reachable in loss record 5 of

10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB0E: ngx_strerror_init (ngx_errno.c:69)

==10039== by 0x403F74: main (nginx.c:211)

==10039==

==10039== 3,594 bytes in 1 blocks are still reachable in loss record 6 of

10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x41F260: ngx_init_setproctitle (ngx_setproctitle.c:47)

==10039== by 0x41F3E4: ngx_os_init (ngx_posix_init.c:43)

==10039== by 0x4048F4: main (nginx.c:324)

==10039==

==10039== 6,144 bytes in 1 blocks are still reachable in loss record 7 of

10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x421832: ngx_epoll_init (ngx_epoll_module.c:348)

==10039== by 0x41A239: ngx_event_process_init (ngx_event.c:626)

==10039== by 0x42132C: ngx_single_process_cycle

(ngx_process_cycle.c:298)

==10039== by 0x4048A7: main (nginx.c:416)

==10039==

==10039== 106,496 bytes in 1 blocks are indirectly lost in loss record 8 of

10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x41A424: ngx_event_process_init (ngx_event.c:689)

==10039== by 0x42132C: ngx_single_process_cycle

(ngx_process_cycle.c:298)

==10039== by 0x4048A7: main (nginx.c:416)

==10039==

==10039== 106,496 bytes in 1 blocks are indirectly lost in loss record 9 of

10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x41A479: ngx_event_process_init (ngx_event.c:701)

==10039== by 0x42132C: ngx_single_process_cycle

(ngx_process_cycle.c:298)

==10039== by 0x4048A7: main (nginx.c:416)

==10039==

==10039== 425,984 (212,992 direct, 212,992 indirect) bytes in 1 blocks are

definitely lost in loss record 10 of 10

==10039== at 0x4C2ABFD: malloc (vg_replace_malloc.c:299)

==10039== by 0x41CB98: ngx_alloc (ngx_alloc.c:22)

==10039== by 0x41A3F5: ngx_event_process_init (ngx_event.c:682)

==10039== by 0x42132C: ngx_single_process_cycle

(ngx_process_cycle.c:298)

==10039== by 0x4048A7: main (nginx.c:416)

==10039==

==10039== LEAK SUMMARY:

==10039== definitely lost: 212,992 bytes in 1 blocks

==10039== indirectly lost: 212,992 bytes in 2 blocks

==10039== possibly lost: 128 bytes in 1 blocks

==10039== still reachable: 15,127 bytes in 144 blocks

==10039== suppressed: 0 bytes in 0 blocks

==10039==

==10039== For counts of detected and suppressed errors, rerun with: -v

==10039== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)

There are a lot of memory leaks. e.g. ngx_epoll_done will never be called

so event_list has no chance to be freed.

Thanks.

Xfeep

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260692,260692#msg-260692

From nginx-forum at nginx.us Sat Aug 1 02:32:20 2015

From: nginx-forum at nginx.us (xfeep)

Date: Fri, 31 Jul 2015 22:32:20 -0400

Subject: Memory leaks when used as a shared library

In-Reply-To: <f158b2de7dedc84d4cb28a9013e7d25a.NginxMailingListEnglish@forum.nginx.org>

References: <f158b2de7dedc84d4cb28a9013e7d25a.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <5a9fec201e4e35b94f5b90b94ac676f7.NginxMailingListEnglish@forum.nginx.org>

BTW, after start nginx by valgrind it won’t print memory leaks report until

we stop nginx by

$ objs/nginx -c work-dir/test.conf -p work-dir

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260692,260693#msg-260693

From nginx-forum at nginx.us Sat Aug 1 23:32:42 2015

From: nginx-forum at nginx.us (smsmaddy1981)

Date: Sat, 01 Aug 2015 19:32:42 -0400

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <20150623214846.GH23844@daoine.org>

References: <20150623214846.GH23844@daoine.org>

Message-ID: <12cc067daf225e82ea0896dee770129d.NginxMailingListEnglish@forum.nginx.org>

Hi Francis,

I tried possible options suggested proxy_pass, fastcgi_pass…and was

unsuccessful

This query was posted in another request

http://forum.nginx.org/read.php?2,260231,260232#msg-260232 and you are smart

to redirect me back to this earlier request.

I would like to detail more on my question pls.,

I have plenty of 5 different services deployed on different 5 servers. I

have NGINX deployed on one server (1) where application 1 is deployed. Other

services are on different servers (2,3,4,5).

Now, whenever there is an web request…via NGINX… the configuration is

able to read the static data of service 1…as it is deployed on the same

server where NGINX is installed.

Issue arises, when trying to access services deployed on other servers

(2,3,4,5). request is reached via upstream servers configured.

Unfortunately, the static content (2,3,4,5) servers are not getting

fetched/loaded. Rather, it is trying to find the data on NGINX installed

machine only.

error.log:

2015/08/02 01:11:09 [error] 30243#0: *72 open()

“/var/gvp/Nginx/nginx-1.8.0/html/pvp/img/rvi.jpg” failed (2: No such file or

directory)

nginx.conf details below

server {

listen 80;

server_name ser-01;

location /pvp/{

proxy_pass http://ser02;

}

location /gen/ {

proxy_pass http://ser03;

}

location /config/ {

proxy_pass http://ser04;

}

location /stat/ {

proxy_pass http://ser05;

}

}

upstream ser01{

ip_hash;

server 10.177.54.92:9092;

server 10.177.54.93:9092;

}

upstream ser02 {

ip_hash;

server 10.176.54.92:9091;

server 10.176.54.93:9091;

}

upstream ser03 {

ip_hash;

server 10.175.54.94:8181;

server 10.175.54.95:8181;

}

upstream ser04 {

ip_hash;

server 10.174.54.74:8080;

server 10.174.54.76:8080;

}

Now, please assist me with an pointing to an code snippet/examples which

show server my above requirement.

Your answer will decide my consideration of Nginx implementation in my

project. Awaiting for your updates.

Best regards,

Maddy

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260695#msg-260695

From nginx-forum at nginx.us Sat Aug 1 23:33:39 2015

From: nginx-forum at nginx.us (smsmaddy1981)

Date: Sat, 01 Aug 2015 19:33:39 -0400

Subject: remote server static content is not getting loaded

In-Reply-To: <20150712214422.GU23844@daoine.org>

References: <20150712214422.GU23844@daoine.org>

Message-ID: <69e7a64ed18835a1ac2adc7861a845ef.NginxMailingListEnglish@forum.nginx.org>

Hi Francis.,

I have updated my old request

http://forum.nginx.org/read.php?2,259786,260695#msg-260695

Awaiting for your response pls.

Best regards,

Maddy

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260231,260696#msg-260696

From mdounin at mdounin.ru Sun Aug 2 02:55:29 2015

From: mdounin at mdounin.ru (Maxim Dounin)

Date: Sun, 2 Aug 2015 05:55:29 +0300

Subject: Memory leaks when used as a shared library

In-Reply-To: <f158b2de7dedc84d4cb28a9013e7d25a.NginxMailingListEnglish@forum.nginx.org>

References: <f158b2de7dedc84d4cb28a9013e7d25a.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150802025529.GI19190@mdounin.ru>

Hello!

On Fri, Jul 31, 2015 at 09:57:05PM -0400, xfeep wrote:

> I want to build nginx into a shared library for this feature of

> nginx-clojure: https://github.com/nginx-clojure/nginx-clojure/issues/86 .

> But i found that there’s memory leaks after stop server but without exit the

> process. Then I tried valgrind to check a simple test without any 3rd party

> module.

Well, the answer is simple: nginx is not designed to be a shared

library. If you want to convert it to be one, it’s you who are

responsible for cleaning up various global allocations.

Maxim Dounin

http://nginx.org/

From lists at ruby-forum.com Sun Aug 2 03:14:25 2015

From: lists at ruby-forum.com (Lawrence Pan)

Date: Sun, 02 Aug 2015 05:14:25 +0200

Subject: Improve server performance

Message-ID: <230b50a648b828821766f5337c47ce52@ruby-forum.com>

Hi, I am hosting a couple of wordpress sites on a very light VPS with

1vCPU, 512Mb Ram and 10Gb SSD. The performance is not very impressive.

Are caching, using gzip, etc., good means to improve the performance of

my VPS despite the fact that it only has one vCPU and 512 Mb of ram.

Thank you

Posted via http://www.ruby-forum.com/.

From anoopalias01 at gmail.com Sun Aug 2 04:10:11 2015

From: anoopalias01 at gmail.com (Anoop Alias)

Date: Sun, 2 Aug 2015 09:40:11 +0530

Subject: Improve server performance

In-Reply-To: <230b50a648b828821766f5337c47ce52@ruby-forum.com>

References: <230b50a648b828821766f5337c47ce52@ruby-forum.com>

Message-ID: <CAO6TEX1rWP0nnyqdcpV4hAiNfW8ZCaoEW8dyrvBc0MzxFqJEHg@mail.gmail.com>

caching – will improve performance . Look for caching at the opcode level

and fastcgi_cache along with the associated wordpress plugin to invalidate

cache

gzip – will be taxing again on your single vCPU

*Anoop P Alias*

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150802/6b11fa2f/attachment.html&gt;

From lists at ruby-forum.com Sun Aug 2 04:45:00 2015

From: lists at ruby-forum.com (Lawrence Pan)

Date: Sun, 02 Aug 2015 06:45:00 +0200

Subject: Improve server performance

In-Reply-To: <CAO6TEX1rWP0nnyqdcpV4hAiNfW8ZCaoEW8dyrvBc0MzxFqJEHg@mail.gmail.com>

References: <230b50a648b828821766f5337c47ce52@ruby-forum.com>

<CAO6TEX1rWP0nnyqdcpV4hAiNfW8ZCaoEW8dyrvBc0MzxFqJEHg@mail.gmail.com>

Message-ID: <26baabb15028822fe0c8908410c2ab6c@ruby-forum.com>

Anoop Alias wrote in post #1177127:

> caching – will improve performance . Look for caching at the opcode

> level

> and fastcgi_cache along with the associated wordpress plugin to

> invalidate

> cache

>

> gzip – will be taxing again on your single vCPU

Thank you very much. So what should I do is to enable cache and disable

gzip right?

Posted via http://www.ruby-forum.com/.

From francis at daoine.org Sun Aug 2 10:05:30 2015

From: francis at daoine.org (Francis Daly)

Date: Sun, 2 Aug 2015 11:05:30 +0100

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <12cc067daf225e82ea0896dee770129d.NginxMailingListEnglish@forum.nginx.org>

References: <20150623214846.GH23844@daoine.org>

<12cc067daf225e82ea0896dee770129d.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150802100530.GD23844@daoine.org>

On Sat, Aug 01, 2015 at 07:32:42PM -0400, smsmaddy1981 wrote:

Hi there,

> Issue arises, when trying to access services deployed on other servers

> (2,3,4,5). request is reached via upstream servers configured.

> Unfortunately, the static content (2,3,4,5) servers are not getting

> fetched/loaded. Rather, it is trying to find the data on NGINX installed

> machine only.

I don’t see answers to my previous questions here.

So I’ll try again, with just one question:

When you request http://ser-01/content/img.jpg, on which of your servers

1-5 is the file img.jpg located?

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Sun Aug 2 11:16:44 2015

From: nginx-forum at nginx.us (tunist)

Date: Sun, 02 Aug 2015 07:16:44 -0400

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <3e13103f2fbe0508b4c57caebad87e19.NginxMailingListEnglish@forum.nginx.org>

References: <3e13103f2fbe0508b4c57caebad87e19.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <e45b8a8c0bd6ed5126103f94e42218ca.NginxMailingListEnglish@forum.nginx.org>

oh, so the solution here was to add: add_header Accept-Ranges bytes;

to the site’s config file.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260702#msg-260702

From lucas at slcoding.com Sun Aug 2 11:20:09 2015

From: lucas at slcoding.com (Lucas Rolff)

Date: Sun, 02 Aug 2015 13:20:09 +0200

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <e45b8a8c0bd6ed5126103f94e42218ca.NginxMailingListEnglish@forum.nginx.org>

References: <3e13103f2fbe0508b4c57caebad87e19.NginxMailingListEnglish@forum.nginx.org>

<e45b8a8c0bd6ed5126103f94e42218ca.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <55BDFCE9.80706@slcoding.com>

Be aware it doesn’t work either in Chrome on mac 🙂

> tunist <mailto:nginx-forum at nginx.us>

> 2 Aug 2015 13:16

> oh, so the solution here was to add: add_header Accept-Ranges bytes;

> to the site’s config file.

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260615,260702#msg-260702

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

> tunist <mailto:nginx-forum at nginx.us>

> 29 Jul 2015 13:14

> greetings!

>

> i am seeing an unexplained malfunction here with nginx when serving

> videos.

> flv and mp4 files have different symptoms. mp4 streams correctly when

> i view

> the file in firefox 39 in fedora 22, but in windows 7 (firefox 39) the

> file

> cannot be ‘seeked’ and must be played linearly.

> after speaking with the coders of video.js (the player i use), it was

> determined that nginx is not returning byte range data appropriately

> (or at

> all) – so seeking would not work. however, this does not explain why

> firefox

> 39 in fedora works perfectly and does not provide a solution as to how to

> get nginx to serve correctly.

>

> the only advice i have seen is to change the value of the ‘max_ranges’

> directive – but doing that has made no difference. i have left it as

> ‘unset’

> – which i understand to mean ‘unlimited’.

>

> an example video from the server is here:

> src=”https://www.ureka.org/file/play/17924/censored%20on%20google%202.mp4&#8243;

>

> any tips welcomed! thanks

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260615,260615#msg-260615

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150802/25421ed3/attachment.html&gt;

From nginx-forum at nginx.us Sun Aug 2 14:31:34 2015

From: nginx-forum at nginx.us (xfeep)

Date: Sun, 02 Aug 2015 10:31:34 -0400

Subject: Memory leaks when used as a shared library

In-Reply-To: <20150802025529.GI19190@mdounin.ru>

References: <20150802025529.GI19190@mdounin.ru>

Message-ID: <b538107473680102232441c55579ed71.NginxMailingListEnglish@forum.nginx.org>

Hi, Maxim,

Thanks for your reply!

——————————————————-

> Well, the answer is simple: nginx is not designed to be a shared

> library. If you want to convert it to be one, it’s you who are

> responsible for cleaning up various global allocations.

>

You’re right.

But for module developers who use valgrind there are maybe some confusion,

the built-in core modules also have “memory leaks” , despite the fact that

those are not real leaks because OS will free them after nginx

master/worker processes exit.

Regards.

Xfeep

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260692,260704#msg-260704

From nginx-forum at nginx.us Sun Aug 2 17:59:48 2015

From: nginx-forum at nginx.us (tunist)

Date: Sun, 02 Aug 2015 13:59:48 -0400

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <55BDFCE9.80706@slcoding.com>

References: <55BDFCE9.80706@slcoding.com>

Message-ID: <a3cce0f9302f60c3f7957ebaa8caa71c.NginxMailingListEnglish@forum.nginx.org>

i thought i had solved this by adding the header for accept-ranges – since

when i did that i could then seek in firefox on windows 7. however, after

testing further i found that the results are inconsistent and ultimately it

is still somewhat broken.

i have added more details to this to a new question i have asked at

serverfault:

http://serverfault.com/questions/710304/why-is-partial-content-not-being-served-in-nginx-mp4

any input is still welcome!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260705#msg-260705

From nginx-forum at nginx.us Sun Aug 2 21:44:27 2015

From: nginx-forum at nginx.us (smsmaddy1981)

Date: Sun, 02 Aug 2015 17:44:27 -0400

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <20150802100530.GD23844@daoine.org>

References: <20150802100530.GD23844@daoine.org>

Message-ID: <f747bf9313e2f52e2ca68bcd86b8d423.NginxMailingListEnglish@forum.nginx.org>

Hi Francis,

Yes, the file/s are located. Verified with all servers.

Best regards,

Maddy

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260708#msg-260708

From francis at daoine.org Sun Aug 2 22:30:43 2015

From: francis at daoine.org (Francis Daly)

Date: Sun, 2 Aug 2015 23:30:43 +0100

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <f747bf9313e2f52e2ca68bcd86b8d423.NginxMailingListEnglish@forum.nginx.org>

References: <20150802100530.GD23844@daoine.org>

<f747bf9313e2f52e2ca68bcd86b8d423.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150802223043.GE23844@daoine.org>

On Sun, Aug 02, 2015 at 05:44:27PM -0400, smsmaddy1981 wrote:

Hi there,

> Yes, the file/s are located. Verified with all servers.

You make a http request for /content/img.jpg.

The file /usr/local/nginx/html/content/img.jpg is on one of your five

servers.

You seem to report that nginx fails to serve it from the filesystem of

ser01, because it is actually on one of the other servers.

Which one of your servers contains the file

/usr/local/nginx/html/content/img.jpg?

Your answer should be one of:

* ser02

* ser03

* ser04

* ser05

* none of them, because I never make a request for /content/img.jpg

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Sun Aug 2 22:36:13 2015

From: nginx-forum at nginx.us (smsmaddy1981)

Date: Sun, 02 Aug 2015 18:36:13 -0400

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <20150802223043.GE23844@daoine.org>

References: <20150802223043.GE23844@daoine.org>

Message-ID: <e826c0405e9e8681780d3c1f7182f00c.NginxMailingListEnglish@forum.nginx.org>

Answer below pls:

Nginx is on “ser01”

file is on “ser02”

//Maddy

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260710#msg-260710

From francis at daoine.org Sun Aug 2 22:46:28 2015

From: francis at daoine.org (Francis Daly)

Date: Sun, 2 Aug 2015 23:46:28 +0100

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <e826c0405e9e8681780d3c1f7182f00c.NginxMailingListEnglish@forum.nginx.org>

References: <20150802223043.GE23844@daoine.org>

<e826c0405e9e8681780d3c1f7182f00c.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150802224628.GF23844@daoine.org>

On Sun, Aug 02, 2015 at 06:36:13PM -0400, smsmaddy1981 wrote:

> Answer below pls:

>

> Nginx is on “ser01”

> file is on “ser02”

How do you know that /content/img.jpg should be served from ser02,

and not from ser01 or ser03?

What is special about /content/img.jpg that says “this is on ser02”?

(You can configure nginx to know what that special thing is, so that

things will work as you want.)

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Sun Aug 2 22:59:03 2015

From: nginx-forum at nginx.us (smsmaddy1981)

Date: Sun, 02 Aug 2015 18:59:03 -0400

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <20150802224628.GF23844@daoine.org>

References: <20150802224628.GF23844@daoine.org>

Message-ID: <29ff1d8af029b0dee58f673475e3bb42.NginxMailingListEnglish@forum.nginx.org>

“/content/img.jpg” is sepcific to an application and which is deployed on

“ser02”.

Whenenver an web request is made accessing the application (deployed on

ser02)…through upstream configuration…the service responds reaching

ser02…but static files (/content/img.jpg) are not rendered. The access_log

shows the file is trying to look on ser01 (Nginx is installed)

(You can configure nginx to know what that special thing is, so that things

will work as you want.)

How pls.???

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260712#msg-260712

From francis at daoine.org Sun Aug 2 23:06:25 2015

From: francis at daoine.org (Francis Daly)

Date: Mon, 3 Aug 2015 00:06:25 +0100

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <29ff1d8af029b0dee58f673475e3bb42.NginxMailingListEnglish@forum.nginx.org>

References: <20150802224628.GF23844@daoine.org>

<29ff1d8af029b0dee58f673475e3bb42.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150802230625.GG23844@daoine.org>

On Sun, Aug 02, 2015 at 06:59:03PM -0400, smsmaddy1981 wrote:

> “/content/img.jpg” is sepcific to an application and which is deployed on

> “ser02”.

I’m going to guess that you mean “every request that starts with /content/

should be handled by ser02”.

In that case, your configuration should be like

location ^~ /content/ {

proxy_pass http://ser02;

}

What happens when you use that?

(What request do you make?; what response do you get?)

> Whenenver an web request is made accessing the application (deployed on

> ser02)…through upstream configuration…the service responds reaching

> ser02…but static files (/content/img.jpg) are not rendered. The access_log

> shows the file is trying to look on ser01 (Nginx is installed)

If you still see a problem, can you list the exact request that does

work as you want, and the exact request that does not work as you want?

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Sun Aug 2 23:30:05 2015

From: nginx-forum at nginx.us (smsmaddy1981)

Date: Sun, 02 Aug 2015 19:30:05 -0400

Subject: Static Content on Different Server Isn’t Loaded??

In-Reply-To: <20150802230625.GG23844@daoine.org>

References: <20150802230625.GG23844@daoine.org>

Message-ID: <8e46e6d992af55aee1c41fbef6a814cd.NginxMailingListEnglish@forum.nginx.org>

Hi Francis

Thanks for your quick support, I will revert with my observations.

Regards.

Maddy

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259786,260714#msg-260714

From nginx-forum at nginx.us Mon Aug 3 03:54:45 2015

From: nginx-forum at nginx.us (goga)

Date: Sun, 02 Aug 2015 23:54:45 -0400

Subject: Nginx proxy server

Message-ID: <e5fa4ba0b597d06b494c979e337dbad1.NginxMailingListEnglish@forum.nginx.org>

Hi everyone.

I need to create a mirror site. And I use the server Nginx.

I was able to configure the server. And everything works fine.

But I have a problem when trying to login on my site. If a password is good

I redirect to the original site (www.example.com). If the password is bad I

stay on my website. And I do not know how to fix it.

I need professional help.

I am using these configurations:

location / {

resolver 8.8.8.8 ;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header Location $host;

proxy_pass http://www.example.com;

proxy_redirect example.com mirorr.com;

proxy_cookie_domain example.com mirorr.com;

proxy_cookie_path / /mirorr/;

proxy_set_header Accept-Encoding “”;

proxy_set_header Referer http://www.example.com;

proxy_set_header Cookie $http_cookie;

}

I think that I return value Location “www.example.com” to “response header”.

But how do I change it, I do not know. Or I’m wrong.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260716,260716#msg-260716

From nginx-forum at nginx.us Mon Aug 3 04:12:54 2015

From: nginx-forum at nginx.us (Eberx)

Date: Mon, 03 Aug 2015 00:12:54 -0400

Subject: Nginx domain work without be into sites-enabled

Message-ID: <796cabcfe52c0173ac2c70c7aa6e2a27.NginxMailingListEnglish@forum.nginx.org>

Hello,

I have many subdomains which is created into /etc/nginx/sites-enabled. For

example

1. http://www.example.com

2. music.example.com

3. video.example.com

are already enabled. and working fine. But I tried to remove

music.example.com from public access. Then I did music.example.com from

sites-enabled folder but I can access to music.example.com. Site is still

there.

How do I fix this ?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260717,260717#msg-260717

From francis at daoine.org Mon Aug 3 10:35:22 2015

From: francis at daoine.org (Francis Daly)

Date: Mon, 3 Aug 2015 11:35:22 +0100

Subject: Nginx domain work without be into sites-enabled

In-Reply-To: <796cabcfe52c0173ac2c70c7aa6e2a27.NginxMailingListEnglish@forum.nginx.org>

References: <796cabcfe52c0173ac2c70c7aa6e2a27.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150803103522.GH23844@daoine.org>

On Mon, Aug 03, 2015 at 12:12:54AM -0400, Eberx wrote:

Hi there,

> I have many subdomains which is created into /etc/nginx/sites-enabled. For

> example

Your nginx.conf presumably has “include /etc/nginx/sites-enabled/*;”

so that these files are read when nginx starts.

> 1. http://www.example.com

> 2. music.example.com

> 3. video.example.com

>

> are already enabled. and working fine. But I tried to remove

> music.example.com from public access. Then I did music.example.com from

> sites-enabled folder but I can access to music.example.com. Site is still

> there.

Did you successfully restart or reload nginx after removing the file?

What response do you get for “curl -i http://music.example.com/&#8221;?

What response do you want instead for “curl -i http://music.example.com/&#8221;?

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Mon Aug 3 11:41:15 2015

From: nginx-forum at nginx.us (Eberx)

Date: Mon, 03 Aug 2015 07:41:15 -0400

Subject: Nginx domain work without be into sites-enabled

In-Reply-To: <20150803103522.GH23844@daoine.org>

References: <20150803103522.GH23844@daoine.org>

Message-ID: <b1882cb38517a909839293313a2b6cf0.NginxMailingListEnglish@forum.nginx.org>

Francis Daly Wrote:

——————————————————-

> On Mon, Aug 03, 2015 at 12:12:54AM -0400, Eberx wrote:

>

> Hi there,

>

> > I have many subdomains which is created into

> /etc/nginx/sites-enabled. For

> > example

>

> Your nginx.conf presumably has “include /etc/nginx/sites-enabled/*;”

> so that these files are read when nginx starts.

I added bottom of my nginx.conf file

include /etc/nginx/conf.d/*.conf;

include /etc/nginx/sites-enabled/*;

>

> > 1. http://www.example.com

> > 2. music.example.com

> > 3. video.example.com

> >

> > are already enabled. and working fine. But I tried to remove

> > music.example.com from public access. Then I did music.example.com

> from

> > sites-enabled folder but I can access to music.example.com. Site is

> still

> > there.

>

> Did you successfully restart or reload nginx after removing the file?

Yes

>

> What response do you get for “curl -i http://music.example.com/&#8221;?

I get response header

Server: nginx

Date: Mon, 03 Aug 2015 11:39:04 GMT

Content-Type: text/html; charset=utf-8

Transfer-Encoding: chunked

Connection: keep-alive

Vary: Accept-Encoding

Set-Cookie: example=lda48dtiqiaqg46paqulh9ov56; path=/; domain=.example.com

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0,

pre-check=0

Pragma: no-cache

Below this header our website html displayed.

>

> What response do you want instead for “curl -i

> http://music.example.com/&#8221;?

>

I just want to go default vhost config.

> f

> —

> Francis Daly francis at daoine.org

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260717,260724#msg-260724

From nginx-forum at nginx.us Mon Aug 3 12:44:52 2015

From: nginx-forum at nginx.us (mynidiravichandra)

Date: Mon, 03 Aug 2015 08:44:52 -0400

Subject: Problem with NGINX on MIPS processor

Message-ID: <906940711eca64c94ae8e396cf993a86.NginxMailingListEnglish@forum.nginx.org>

Hi,

I am trying to run nginx on a MIPS processor. In my NGINX server

configuration, i have used only worker process. When i try connecting with

openssl s_client application, i am able to connect only once. After this,

the first connection is closed and if i try connecting again, server doesn’t

accept any connection. I have tried strace on the nginx server process and

observed that worker process in busy in writing some data to the

closed(first) connection.

PS: i have tried the same experiment on x86 and didn’t face any such issue.

Appreciate any help/suggestions regarding this issue.

Thanks

Ravichandra

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260725,260725#msg-260725

From francis at daoine.org Mon Aug 3 15:15:41 2015

From: francis at daoine.org (Francis Daly)

Date: Mon, 3 Aug 2015 16:15:41 +0100

Subject: Nginx domain work without be into sites-enabled

In-Reply-To: <b1882cb38517a909839293313a2b6cf0.NginxMailingListEnglish@forum.nginx.org>

References: <20150803103522.GH23844@daoine.org>

<b1882cb38517a909839293313a2b6cf0.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150803151541.GI23844@daoine.org>

On Mon, Aug 03, 2015 at 07:41:15AM -0400, Eberx wrote:

> Francis Daly Wrote:

Hi there,

> > What response do you get for “curl -i http://music.example.com/&#8221;?

>

> I get response header

>

> Server: nginx

> Date: Mon, 03 Aug 2015 11:39:04 GMT

> Content-Type: text/html; charset=utf-8

> Transfer-Encoding: chunked

> Connection: keep-alive

> Vary: Accept-Encoding

> Set-Cookie: example=lda48dtiqiaqg46paqulh9ov56; path=/; domain=.example.com

> Expires: Thu, 19 Nov 1981 08:52:00 GMT

> Cache-Control: no-store, no-cache, must-revalidate, post-check=0,

> pre-check=0

> Pragma: no-cache

>

> Below this header our website html displayed.

Is “our website html” from music.example.com or from http://www.example.com or

from something else?

> > What response do you want instead for “curl -i

> > http://music.example.com/&#8221;?

>

> I just want to go default vhost config.

What is your default vhost config?

If you want specific help, you will need to give specific details.

How nginx chooses which server{} block to use is described at

http://nginx.org/en/docs/http/request_processing.html

If you can create a config file where your nginx does not do what that

page describes, then you will have found an interesting bug.

So: in your nginx.conf, plus any file that is “include”d in there,

look at all of your server{} blocks, and in them, look at all of your

“listen” and “server_name” directives.

Then follow what that web page says, and identify which one server{} block

nginx should use to handle your request for http://music.example.com/.

Is that the server{} block that you want nginx to use?

If not, make whatever changes are needed so that it is.

Good luck with it,

f

Francis Daly francis at daoine.org

From mdounin at mdounin.ru Mon Aug 3 18:02:06 2015

From: mdounin at mdounin.ru (Maxim Dounin)

Date: Mon, 3 Aug 2015 21:02:06 +0300

Subject: Problem with NGINX on MIPS processor

In-Reply-To: <906940711eca64c94ae8e396cf993a86.NginxMailingListEnglish@forum.nginx.org>

References: <906940711eca64c94ae8e396cf993a86.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150803180205.GQ19190@mdounin.ru>

Hello!

On Mon, Aug 03, 2015 at 08:44:52AM -0400, mynidiravichandra wrote:

> Hi,

> I am trying to run nginx on a MIPS processor. In my NGINX server

> configuration, i have used only worker process. When i try connecting with

> openssl s_client application, i am able to connect only once. After this,

> the first connection is closed and if i try connecting again, server doesn’t

> accept any connection. I have tried strace on the nginx server process and

> observed that worker process in busy in writing some data to the

> closed(first) connection.

>

> PS: i have tried the same experiment on x86 and didn’t face any such issue.

>

> Appreciate any help/suggestions regarding this issue.

First of all I would recommend to try plain HTTP, without SSL.

This may be some SSL related problem, either in nginx or in

OpenSSL itself.

Maxim Dounin

http://nginx.org/

From nginx-forum at nginx.us Tue Aug 4 04:03:28 2015

From: nginx-forum at nginx.us (Eberx)

Date: Tue, 04 Aug 2015 00:03:28 -0400

Subject: Nginx domain work without be into sites-enabled

In-Reply-To: <20150803151541.GI23844@daoine.org>

References: <20150803151541.GI23844@daoine.org>

Message-ID: <eb455b1edf8911f512cae477d2495b4e.NginxMailingListEnglish@forum.nginx.org>

Hello,

Thank you for advice.

It is my fault. I did not define any default_server in my config.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260717,260734#msg-260734

From hagaia at qwilt.com Tue Aug 4 06:47:09 2015

From: hagaia at qwilt.com (Hagai Avrahami)

Date: Tue, 4 Aug 2015 09:47:09 +0300

Subject: Nginx may recieve data from Upstream Server even a request has not

sent

Message-ID: <CAN-ZXptVZYvPR==+4M3jRLHPcCsZXVBvezhZnniE=GihLTT5Lg@mail.gmail.com>

Hi,

I am using Nginx as reverse Proxy, during testing I have noticed

a situation Nginx receives response from upstream server even no request

has been sent yet from Nginx side.

The scenario is that the “Upstream Server” started to transfer data just

after

the connection has established without waiting to request from Nginx, Nginx

receives all the response

and does not send the Proxied request.

I have looked in the code and realized Nginx allows to receive response

even without request

*or* maybe the AND should be OR (* (!u->request_sent ||

ngx_http_upstream_test_connect(c) != NGX_OK))*

static void

ngx_http_upstream_process_header(ngx_http_request_t *r, ngx_http_upstream_t

*u)

{

ssize_t n;

ngx_int_t rc;

ngx_connection_t *c;

….

* if (!u->request_sent && ngx_http_upstream_test_connect(c) != NGX_OK)

{ ngx_http_upstream_next(r, u,

NGX_HTTP_UPSTREAM_FT_ERROR); return; }*

Please Advise

Thanks

Hagai Avrahami

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150804/3987e56b/attachment.html&gt;

From nginx-forum at nginx.us Tue Aug 4 11:57:37 2015

From: nginx-forum at nginx.us (nginxsantos)

Date: Tue, 04 Aug 2015 07:57:37 -0400

Subject: Nginx sending notification

Message-ID: <74bce6ed94d654c37e7e5c262754e38c.NginxMailingListEnglish@forum.nginx.org>

Hi,

I want to send a notification from Nginx to another remote server when the

health of any configured upstream server changes. Is there any module

available for this. I was able to get that working through “salt” , but I

need something better,

Any suggestions??

Regards, Santos

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260738,260738#msg-260738

From nginx-forum at nginx.us Tue Aug 4 12:37:34 2015

From: nginx-forum at nginx.us (itpp2012)

Date: Tue, 04 Aug 2015 08:37:34 -0400

Subject: Nginx sending notification

In-Reply-To: <74bce6ed94d654c37e7e5c262754e38c.NginxMailingListEnglish@forum.nginx.org>

References: <74bce6ed94d654c37e7e5c262754e38c.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <79016e49f1498f21857d4b6501c6e27c.NginxMailingListEnglish@forum.nginx.org>

What about Lua? I could image something with Lua->fastcgi sending a GET to

another server via simple tcp with status information the other nginx server

can act upon.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260738,260739#msg-260739

From lordnynex at gmail.com Tue Aug 4 19:35:23 2015

From: lordnynex at gmail.com (Lord Nynex)

Date: Tue, 4 Aug 2015 12:35:23 -0700

Subject: Memory leaks when used as a shared library

In-Reply-To: <b538107473680102232441c55579ed71.NginxMailingListEnglish@forum.nginx.org>

References: <20150802025529.GI19190@mdounin.ru>

<b538107473680102232441c55579ed71.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <CAMSXNV8siZxE2r+VaqHJbJRjRCTKT=z=91LEAqsEXkNBtLYEwQ@mail.gmail.com>

Have you looked at https://github.com/openresty/no-pool-nginx ?

On Sun, Aug 2, 2015 at 7:31 AM, xfeep <nginx-forum at nginx.us> wrote:

> Hi, Maxim,

>

> Thanks for your reply!

> ——————————————————-

> > Well, the answer is simple: nginx is not designed to be a shared

> > library. If you want to convert it to be one, it’s you who are

> > responsible for cleaning up various global allocations.

> >

>

> You’re right.

> But for module developers who use valgrind there are maybe some confusion,

> the built-in core modules also have “memory leaks” , despite the fact that

> those are not real leaks because OS will free them after nginx

> master/worker processes exit.

>

> Regards.

> Xfeep

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260692,260704#msg-260704

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150804/f82a27d6/attachment.html&gt;

From nginx-forum at nginx.us Tue Aug 4 21:57:42 2015

From: nginx-forum at nginx.us (nginxuser100)

Date: Tue, 04 Aug 2015 17:57:42 -0400

Subject: HTTP 505 error message supported by NGINX?

Message-ID: <3887123f1c7a7ddf659872ca57c7b360.NginxMailingListEnglish@forum.nginx.org>

Hi, does NGINX support the generation of the error message for HTTP error

code 505? For example, I see

“401 Authorization Required” when running nginx 1.6.2

but I don’t see anything for 505. NGINX would return “505 OK” in the HTTP

response.

Thank you.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260754,260754#msg-260754

From reallfqq-nginx at yahoo.fr Tue Aug 4 22:05:05 2015

From: reallfqq-nginx at yahoo.fr (B.R.)

Date: Wed, 5 Aug 2015 00:05:05 +0200

Subject: HTTP 505 error message supported by NGINX?

In-Reply-To: <3887123f1c7a7ddf659872ca57c7b360.NginxMailingListEnglish@forum.nginx.org>

References: <3887123f1c7a7ddf659872ca57c7b360.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <CALqce=34X5MpfE0x7Q8R4bxsB5uFzeOOuNMDfqW33j=RCTNjpw@mail.gmail.com>

There is no such HTTP 505 “OK”.

It means “HTTP Version Not Supported”.

What were you testing?

How did you test it?

What result did you expect?

What result did you get?

*B. R.*

On Tue, Aug 4, 2015 at 11:57 PM, nginxuser100 <nginx-forum at nginx.us> wrote:

> Hi, does NGINX support the generation of the error message for HTTP error

> code 505? For example, I see

>

> “401 Authorization Required” when running nginx 1.6.2

> but I don’t see anything for 505. NGINX would return “505 OK” in the HTTP

> response.

>

> Thank you.

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260754,260754#msg-260754

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150805/fc6968db/attachment.html&gt;

From nginx-forum at nginx.us Tue Aug 4 22:19:03 2015

From: nginx-forum at nginx.us (nginxuser100)

Date: Tue, 04 Aug 2015 18:19:03 -0400

Subject: HTTP 505 error message supported by NGINX?

In-Reply-To: <CALqce=34X5MpfE0x7Q8R4bxsB5uFzeOOuNMDfqW33j=RCTNjpw@mail.gmail.com>

References: <CALqce=34X5MpfE0x7Q8R4bxsB5uFzeOOuNMDfqW33j=RCTNjpw@mail.gmail.com>

Message-ID: <6c89467179b3d11ea15355c7ef3d3b5d.NginxMailingListEnglish@forum.nginx.org>

I have my FCGI server send “HTTP/1.1 505 Version Not Supported\r\nStatus:

505 Version Not Supported\r\n\r\n”.

In nginx.conf, I have:

fastcgi_intercept_errors on;

error_page 505 /errpage;

location /errpage {

try_files /version_not_supported.html =505;

}

If version_not_supported.html is not found, I expected nginx to display “505

HTTP Version Not Supported” on the browser page, and to return “Status Code:

505 HTTP Version Not Supported” in the HTTP response. Instead, I got a blank

page, and the HTTP response shows a Status code of “505 OK”.

Note NGINX displays the correct error message and Status code for other

error codes such as 400, 401, 403, 404, 500, etc. Just for 505, NGINX would

not return the proper error message.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260754,260756#msg-260756

From tfransosi at gmail.com Tue Aug 4 22:37:41 2015

From: tfransosi at gmail.com (Thiago Farina)

Date: Tue, 4 Aug 2015 19:37:41 -0300

Subject: Nginx proxy server

In-Reply-To: <e5fa4ba0b597d06b494c979e337dbad1.NginxMailingListEnglish@forum.nginx.org>

References: <e5fa4ba0b597d06b494c979e337dbad1.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <CACnwZYekRFxJGyHYJ+5vEt9TSpb8din_K=HMVQcwgqaJfn_6Og@mail.gmail.com>

On Mon, Aug 3, 2015 at 12:54 AM, goga <nginx-forum at nginx.us> wrote:

> Hi everyone.

> I need to create a mirror site. And I use the server Nginx.

> I was able to configure the server. And everything works fine.

> But I have a problem when trying to login on my site. If a password is good

> I redirect to the original site (www.example.com). If the password is bad I

> stay on my website. And I do not know how to fix it.

Isn’t this something you can/should handle in the language side? Btw,

which language are you using? PHP, Perl, Python, Ruby?

Thiago Farina

From francis at daoine.org Tue Aug 4 22:49:54 2015

From: francis at daoine.org (Francis Daly)

Date: Tue, 4 Aug 2015 23:49:54 +0100

Subject: HTTP 505 error message supported by NGINX?

In-Reply-To: <6c89467179b3d11ea15355c7ef3d3b5d.NginxMailingListEnglish@forum.nginx.org>

References: <CALqce=34X5MpfE0x7Q8R4bxsB5uFzeOOuNMDfqW33j=RCTNjpw@mail.gmail.com>

<6c89467179b3d11ea15355c7ef3d3b5d.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150804224954.GJ23844@daoine.org>

On Tue, Aug 04, 2015 at 06:19:03PM -0400, nginxuser100 wrote:

Hi there,

> I have my FCGI server send “HTTP/1.1 505 Version Not Supported\r\nStatus:

> 505 Version Not Supported\r\n\r\n”.

> In nginx.conf, I have:

>

> fastcgi_intercept_errors on;

> error_page 505 /errpage;

> location /errpage {

> try_files /version_not_supported.html =505;

> }

>

> If version_not_supported.html is not found, I expected nginx to display “505

> HTTP Version Not Supported” on the browser page, and to return “Status Code:

> 505 HTTP Version Not Supported” in the HTTP response. Instead, I got a blank

> page, and the HTTP response shows a Status code of “505 OK”.

I think that you can control the HTTP status code that nginx returns,

and you can control the body content returned with the response; but

you cannot control the “reason phrase” that nginx puts on the status line.

So nginx can be told to return (for example) “HTTP/1.1 505 ” with the

body content that you choose. If that is good enough for what you want,

you won’t need to go beyond nginx.conf to achieve it.

(To do that, you could replace “=505” with “@my505”, and then in

“location @my505” do “return 505 my_body_content”. I’m sure that other

ways of achieving the same thing exist too.)

What the browser chooses to do with the 505 response is its business —

perhaps it will show its own “505” page instead of what nginx sent;

or perhaps it will show exactly what nginx sent.

> Note NGINX displays the correct error message and Status code for other

> error codes such as 400, 401, 403, 404, 500, etc. Just for 505, NGINX would

> not return the proper error message.

I think that nginx returns its hard-coded “reason phrase” for each of

those status codes. It happens not to have one for 505, so it returns

the empty one.

Or do you have a config when you can control the reason phrase for those

status codes?

Cheers,

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Tue Aug 4 23:25:23 2015

From: nginx-forum at nginx.us (nginxuser100)

Date: Tue, 04 Aug 2015 19:25:23 -0400

Subject: HTTP 505 error message supported by NGINX?

In-Reply-To: <20150804224954.GJ23844@daoine.org>

References: <20150804224954.GJ23844@daoine.org>

Message-ID: <7388c398b4efb4442a426f7f1d181963.NginxMailingListEnglish@forum.nginx.org>

Thank you Francis. The body content did the trick … not as aesthetically

pleasing to the eyes as the NGINX’s “hard-coded reason phrase”, but it is

better than a blank page.

I did not understand what you meant by a config to control the reason

phrase.

Thanks again.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260754,260761#msg-260761

From reallfqq-nginx at yahoo.fr Tue Aug 4 23:32:38 2015

From: reallfqq-nginx at yahoo.fr (B.R.)

Date: Wed, 5 Aug 2015 01:32:38 +0200

Subject: HTTP 505 error message supported by NGINX?

In-Reply-To: <7388c398b4efb4442a426f7f1d181963.NginxMailingListEnglish@forum.nginx.org>

References: <20150804224954.GJ23844@daoine.org>

<7388c398b4efb4442a426f7f1d181963.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <CALqce=0LJ396awUTE=EKcU8HSZzXZ-CB8umYpgAffrWiAWOJrA@mail.gmail.com>

It seems that by default nginx does not handle that HTTP code.

I just tried the following:

HEAD / HTTP/30.00

User-Agent: lollipop

Host: [EDITED]

Accept: */*

HTTP/1.1 200 OK

Server: nginx

Date: Tue, 04 Aug 2015 23:27:43 GMT

Content-Type: text/html; charset=UTF-8

Connection: keep-alive

Strict-Transport-Security: max-age=15984000

?So if you overload the status code with 505, the reason won’t change and

still be ‘OK’.?

?That would explain why you saw ‘505 OK’ which is an heresy…?

*B. R.*

On Wed, Aug 5, 2015 at 1:25 AM, nginxuser100 <nginx-forum at nginx.us> wrote:

> Thank you Francis. The body content did the trick … not as aesthetically

> pleasing to the eyes as the NGINX’s “hard-coded reason phrase”, but it is

> better than a blank page.

> I did not understand what you meant by a config to control the reason

> phrase.

> Thanks again.

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260754,260761#msg-260761

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150805/184fa150/attachment.html&gt;

From nginx-forum at nginx.us Tue Aug 4 23:50:33 2015

From: nginx-forum at nginx.us (xfeep)

Date: Tue, 04 Aug 2015 19:50:33 -0400

Subject: Memory leaks when used as a shared library

In-Reply-To: <CAMSXNV8siZxE2r+VaqHJbJRjRCTKT=z=91LEAqsEXkNBtLYEwQ@mail.gmail.com>

References: <CAMSXNV8siZxE2r+VaqHJbJRjRCTKT=z=91LEAqsEXkNBtLYEwQ@mail.gmail.com>

Message-ID: <2a3025363a79ce647baa2ba5df14f6dd.NginxMailingListEnglish@forum.nginx.org>

Hi, Lord,

Thank you!

Lord Nynex Wrote:

——————————————————-

> Have you looked at https://github.com/openresty/no-pool-nginx ?

>

But the issue in my case is not related to nginx’s pool mechanism.

It is caused by some build-in modules which won’t release it allocated

memory at all. e.g.

ngx_event_core_module.init_process does some allocating but there ‘s no

ngx_event_core_module.exit_process at all, so the memory it allocated will

only be released by operation system process manager only when the worker

process exits. it is plain that this will be reported as memory leak by

valgrind.

Just as Maxim said, I plan to write a new process_cycle for my shared

library and record all unreleased memory and do release them at the end of

process_cycle.

Regards.

Xfeep

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260692,260765#msg-260765

From nginx-forum at nginx.us Wed Aug 5 05:29:33 2015

From: nginx-forum at nginx.us (nginxuser100)

Date: Wed, 05 Aug 2015 01:29:33 -0400

Subject: HTTP 505 error message supported by NGINX?

In-Reply-To: <CALqce=0LJ396awUTE=EKcU8HSZzXZ-CB8umYpgAffrWiAWOJrA@mail.gmail.com>

References: <CALqce=0LJ396awUTE=EKcU8HSZzXZ-CB8umYpgAffrWiAWOJrA@mail.gmail.com>

Message-ID: <ffa1ade2c1e7ede6d239d5c5fbbd45bf.NginxMailingListEnglish@forum.nginx.org>

Thank you B.R. I wonder why 505 was not supported.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260754,260768#msg-260768

From francis at daoine.org Wed Aug 5 07:17:24 2015

From: francis at daoine.org (Francis Daly)

Date: Wed, 5 Aug 2015 08:17:24 +0100

Subject: HTTP 505 error message supported by NGINX?

In-Reply-To: <7388c398b4efb4442a426f7f1d181963.NginxMailingListEnglish@forum.nginx.org>

References: <20150804224954.GJ23844@daoine.org>

<7388c398b4efb4442a426f7f1d181963.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150805071724.GK23844@daoine.org>

On Tue, Aug 04, 2015 at 07:25:23PM -0400, nginxuser100 wrote:

Hi there,

> Thank you Francis. The body content did the trick … not as aesthetically

> pleasing to the eyes as the NGINX’s “hard-coded reason phrase”, but it is

> better than a blank page.

Good that you have an acceptable answer.

> I did not understand what you meant by a config to control the reason

> phrase.

I think that nginx does not have a way to let you control the reason phrase.

I was not sure from your paragraph whether you had a system where

you got nginx to return a different reason phrase, for (e.g.) fastcgi

returning 404.

If you had, I’d be interested to see the config.

But it sounds like you don’t, so that’s ok.

Cheers,

f

Francis Daly francis at daoine.org

From francis at daoine.org Wed Aug 5 07:20:03 2015

From: francis at daoine.org (Francis Daly)

Date: Wed, 5 Aug 2015 08:20:03 +0100

Subject: Nginx domain work without be into sites-enabled

In-Reply-To: <eb455b1edf8911f512cae477d2495b4e.NginxMailingListEnglish@forum.nginx.org>

References: <20150803151541.GI23844@daoine.org>

<eb455b1edf8911f512cae477d2495b4e.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150805072003.GL23844@daoine.org>

On Tue, Aug 04, 2015 at 12:03:28AM -0400, Eberx wrote:

Hi there,

> Thank you for advice.

>

> It is my fault. I did not define any default_server in my config.

Good that you found a solution, and thanks for letting the list know

what the fix is.

Cheers,

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Wed Aug 5 14:18:49 2015

From: nginx-forum at nginx.us (goga)

Date: Wed, 05 Aug 2015 10:18:49 -0400

Subject: Nginx proxy server

In-Reply-To: <CACnwZYekRFxJGyHYJ+5vEt9TSpb8din_K=HMVQcwgqaJfn_6Og@mail.gmail.com>

References: <CACnwZYekRFxJGyHYJ+5vEt9TSpb8din_K=HMVQcwgqaJfn_6Og@mail.gmail.com>

Message-ID: <ca9c7bbfe1efb84d8dfd6975f0ceed98.NginxMailingListEnglish@forum.nginx.org>

Thiago Farina Wrote:

——————————————————-

> On Mon, Aug 3, 2015 at 12:54 AM, goga <nginx-forum at nginx.us> wrote:

> Isn’t this something you can/should handle in the language side? Btw,

> which language are you using? PHP, Perl, Python, Ruby?

>

> —

> Thiago Farina

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

None. I only use the configuration file in /etc/nginx/sites-avalible/*.conf

Only settings virtualhosts.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260716,260789#msg-260789

From nitinmlvya at gmail.com Wed Aug 5 14:25:36 2015

From: nitinmlvya at gmail.com (Nitin Solanki)

Date: Wed, 05 Aug 2015 14:25:36 +0000

Subject: Configure core Python scripts into Nginx

Message-ID: <CA+fnCvVgh_UpJfgCTUP_HCEzEncyHqp9fGNnxK6-JTKX3hV0qw@mail.gmail.com>

Hi,

I want to execute python scripts into Nginx server. I don’t want

to any frameworks for that. Core python script, I need to use.

Any help and step to follow . To do that.

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150805/120ed2c0/attachment.html&gt;

From agentzh at gmail.com Wed Aug 5 15:22:28 2015

From: agentzh at gmail.com (Yichun Zhang (agentzh))

Date: Wed, 5 Aug 2015 23:22:28 +0800

Subject: Configure core Python scripts into Nginx

In-Reply-To: <CA+fnCvVgh_UpJfgCTUP_HCEzEncyHqp9fGNnxK6-JTKX3hV0qw@mail.gmail.com>

References: <CA+fnCvVgh_UpJfgCTUP_HCEzEncyHqp9fGNnxK6-JTKX3hV0qw@mail.gmail.com>

Message-ID: <CAB4Tn6MAdhsJqNngGpfPoKxZo3a8PZAVd6FLbdhZnCGyPGHBNg@mail.gmail.com>

Hello!

On Wed, Aug 5, 2015 at 10:25 PM, Nitin Solanki wrote:

> I want to execute python scripts into Nginx server. I don’t want to

> any frameworks for that. Core python script, I need to use.

> Any help and step to follow . To do that.

>

Because you’re using NGINX, I’d assume you’re after performance. I

suggest you have a look at our ngx_lua module which supports

nonblocking Lua scripting in the nginx core:

https://github.com/openresty/lua-nginx-module

Lua is a simple language and is pythanic in some ways 🙂

If you insist in running Python in your apps, then you should try

those fastcgi or uwsgi options instead.

Just my 2 cents.

Regards,

-agentzh

From nitinmlvya at gmail.com Thu Aug 6 06:51:27 2015

From: nitinmlvya at gmail.com (Nitin Solanki)

Date: Thu, 06 Aug 2015 06:51:27 +0000

Subject: Configure core Python scripts into Nginx

In-Reply-To: <CAB4Tn6MAdhsJqNngGpfPoKxZo3a8PZAVd6FLbdhZnCGyPGHBNg@mail.gmail.com>

References: <CA+fnCvVgh_UpJfgCTUP_HCEzEncyHqp9fGNnxK6-JTKX3hV0qw@mail.gmail.com>

<CAB4Tn6MAdhsJqNngGpfPoKxZo3a8PZAVd6FLbdhZnCGyPGHBNg@mail.gmail.com>

Message-ID: <CA+fnCvXSrOsWOc1_cqGDXKCpOFPqgtq24xH3QKE2KfSz-x+_+A@mail.gmail.com>

Hi Zhang,

Which should I use fastcgi or uwsgi. I tried uwsgi but not

succeed. Can you help to sort out my problem. Shall you please send me

steps to configure python with Nginx.

On Wed, Aug 5, 2015 at 8:52 PM Yichun Zhang (agentzh) <agentzh at gmail.com>

wrote:

> Hello!

>

> On Wed, Aug 5, 2015 at 10:25 PM, Nitin Solanki wrote:

> > I want to execute python scripts into Nginx server. I don’t

> want to

> > any frameworks for that. Core python script, I need to use.

> > Any help and step to follow . To do that.

> >

>

> Because you’re using NGINX, I’d assume you’re after performance. I

> suggest you have a look at our ngx_lua module which supports

> nonblocking Lua scripting in the nginx core:

>

> https://github.com/openresty/lua-nginx-module

>

> Lua is a simple language and is pythanic in some ways 🙂

>

> If you insist in running Python in your apps, then you should try

> those fastcgi or uwsgi options instead.

>

> Just my 2 cents.

>

> Regards,

> -agentzh

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150806/89ea21b2/attachment.html&gt;

From nginx-forum at nginx.us Thu Aug 6 08:10:29 2015

From: nginx-forum at nginx.us (mynidiravichandra)

Date: Thu, 06 Aug 2015 04:10:29 -0400

Subject: Problem with NGINX on MIPS processor

In-Reply-To: <20150803180205.GQ19190@mdounin.ru>

References: <20150803180205.GQ19190@mdounin.ru>

Message-ID: <3aab0d1398c774c35d253b35d24f4378.NginxMailingListEnglish@forum.nginx.org>

Thanks, Maxim. It was a problem in SSL code.

Ravichandra

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260725,260814#msg-260814

From nitinmlvya at gmail.com Thu Aug 6 11:25:43 2015

From: nitinmlvya at gmail.com (Nitin Solanki)

Date: Thu, 06 Aug 2015 11:25:43 +0000

Subject: Execute python files with Nginx

Message-ID: <CA+fnCvXusVTYzL4sYzAiVrX3cw3Ri-fpLM9ya2d=855ZLidBNA@mail.gmail.com>

Hello,

How can we execute python files with Nginx? Anybody can help me

to give steps by steps to follow. In Apache, it is very easy to execute

python files but in python, I am trying from last 2 days and nothing

happening. Any Idea how to use “uwsgi” ?

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150806/18339721/attachment.html&gt;

From nginx-forum at nginx.us Thu Aug 6 11:49:16 2015

From: nginx-forum at nginx.us (Alt)

Date: Thu, 06 Aug 2015 07:49:16 -0400

Subject: Execute python files with Nginx

In-Reply-To: <CA+fnCvXusVTYzL4sYzAiVrX3cw3Ri-fpLM9ya2d=855ZLidBNA@mail.gmail.com>

References: <CA+fnCvXusVTYzL4sYzAiVrX3cw3Ri-fpLM9ya2d=855ZLidBNA@mail.gmail.com>

Message-ID: <e27f7f48bedd80a4d7872f1e22b62f68.NginxMailingListEnglish@forum.nginx.org>

Hello,

I’ve never used python with nginx, but there are some examples on how to

configure everything here:

http://wiki.nginx.org/Configuration#Python_via_FastCGI

Best Regards

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260817,260818#msg-260818

From nitinmlvya at gmail.com Thu Aug 6 11:53:18 2015

From: nitinmlvya at gmail.com (Nitin Solanki)

Date: Thu, 06 Aug 2015 11:53:18 +0000

Subject: Execute python files with Nginx

In-Reply-To: <e27f7f48bedd80a4d7872f1e22b62f68.NginxMailingListEnglish@forum.nginx.org>

References: <CA+fnCvXusVTYzL4sYzAiVrX3cw3Ri-fpLM9ya2d=855ZLidBNA@mail.gmail.com>

<e27f7f48bedd80a4d7872f1e22b62f68.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <CA+fnCvUem56VOJPFHSk9dVh+SB1ejJXCEeAxX8fm=qoeDAztaA@mail.gmail.com>

I tried that and getting issues. Unable to configure. I am not getting

those steps. Any help you can do by explaining in steps…

On Thu, Aug 6, 2015 at 5:19 PM Alt <nginx-forum at nginx.us> wrote:

> Hello,

>

> I’ve never used python with nginx, but there are some examples on how to

> configure everything here:

> http://wiki.nginx.org/Configuration#Python_via_FastCGI

>

> Best Regards

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260817,260818#msg-260818

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150806/b51b9b26/attachment.html&gt;

From nginx-forum at nginx.us Thu Aug 6 13:16:38 2015

From: nginx-forum at nginx.us (tunist)

Date: Thu, 06 Aug 2015 09:16:38 -0400

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <3e13103f2fbe0508b4c57caebad87e19.NginxMailingListEnglish@forum.nginx.org>

References: <3e13103f2fbe0508b4c57caebad87e19.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <460c40b28555a4225385f6f4e65510b5.NginxMailingListEnglish@forum.nginx.org>

i have now created question on this topic on serverfault and on

stackexchange’s video site – but have not found the solution to the problem.

i have looked into all the answers i have received so far and none have made

any difference to the fact that my server is not reliably serving video. all

my MP4s are now processed to relocate the moov atom.

anyone got any additional thoughts? is there a github issue i can open or

some other bug tracker for nginx?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260820#msg-260820

From agentzh at gmail.com Thu Aug 6 13:49:55 2015

From: agentzh at gmail.com (Yichun Zhang (agentzh))

Date: Thu, 6 Aug 2015 21:49:55 +0800

Subject: Configure core Python scripts into Nginx

In-Reply-To: <CA+fnCvXSrOsWOc1_cqGDXKCpOFPqgtq24xH3QKE2KfSz-x+_+A@mail.gmail.com>

References: <CA+fnCvVgh_UpJfgCTUP_HCEzEncyHqp9fGNnxK6-JTKX3hV0qw@mail.gmail.com>

<CAB4Tn6MAdhsJqNngGpfPoKxZo3a8PZAVd6FLbdhZnCGyPGHBNg@mail.gmail.com>

<CA+fnCvXSrOsWOc1_cqGDXKCpOFPqgtq24xH3QKE2KfSz-x+_+A@mail.gmail.com>

Message-ID: <CAB4Tn6MCY1cLa90GPq3Jo0zbjtmC4Dkfj2OKd=W_Vt+Vi7RtFA@mail.gmail.com>

Hello!

On Thu, Aug 6, 2015 at 2:51 PM, Nitin Solanki wrote:

> Which should I use fastcgi or uwsgi.

It’s generally believed that uwsgi is better.

> I tried uwsgi but not

> succeed. Can you help to sort out my problem. Shall you please send me steps

> to configure python with Nginx.

>

As the maintainer of the ngx_lua module I never code any Python for

web apps (for obvious reasons) 🙂 I only use Python occasionally when

I absolutely have to (like writing gdb-based debugging tools).

Having said that, you’d better provide as much details about your

problems as possible here such that other more knowledgeable people

might have a chance to help you out. Well, just a suggestion.

Regards,

-agentzh

From rgacote at appropriatesolutions.com Thu Aug 6 17:37:36 2015

From: rgacote at appropriatesolutions.com (Ray Cote)

Date: Thu, 6 Aug 2015 13:37:36 -0400

Subject: Configure core Python scripts into Nginx

In-Reply-To: <CAB4Tn6MCY1cLa90GPq3Jo0zbjtmC4Dkfj2OKd=W_Vt+Vi7RtFA@mail.gmail.com>

References: <CA+fnCvVgh_UpJfgCTUP_HCEzEncyHqp9fGNnxK6-JTKX3hV0qw@mail.gmail.com>

<CAB4Tn6MAdhsJqNngGpfPoKxZo3a8PZAVd6FLbdhZnCGyPGHBNg@mail.gmail.com>

<CA+fnCvXSrOsWOc1_cqGDXKCpOFPqgtq24xH3QKE2KfSz-x+_+A@mail.gmail.com>

<CAB4Tn6MCY1cLa90GPq3Jo0zbjtmC4Dkfj2OKd=W_Vt+Vi7RtFA@mail.gmail.com>

Message-ID: <CAG5tnzqYdsHFROsbUGmfE76QHWgmgudR23+FQMa7Mtr0-gXt5A@mail.gmail.com>

We use gUnicorn for our nginx/Django deployments.

Lots of good guidance on the gUnicorn site:

http://gunicorn-docs.readthedocs.org/en/latest/deploy.html

nginx is their deployment of choice…

-Ray

On Thu, Aug 6, 2015 at 9:49 AM, Yichun Zhang (agentzh) <agentzh at gmail.com>

wrote:

> Hello!

>

> On Thu, Aug 6, 2015 at 2:51 PM, Nitin Solanki wrote:

> > Which should I use fastcgi or uwsgi.

>

> It’s generally believed that uwsgi is better.

>

> > I tried uwsgi but not

> > succeed. Can you help to sort out my problem. Shall you please send me

> steps

> > to configure python with Nginx.

> >

>

> As the maintainer of the ngx_lua module I never code any Python for

> web apps (for obvious reasons) 🙂 I only use Python occasionally when

> I absolutely have to (like writing gdb-based debugging tools).

>

> Having said that, you’d better provide as much details about your

> problems as possible here such that other more knowledgeable people

> might have a chance to help you out. Well, just a suggestion.

>

> Regards,

> -agentzh

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

Raymond Cote, President

voice: +1.603.924.6079 email: rgacote at AppropriateSolutions.com skype:

ray.cote

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150806/2987d66c/attachment.html&gt;

From nginx-forum at nginx.us Thu Aug 6 17:53:57 2015

From: nginx-forum at nginx.us (mex)

Date: Thu, 06 Aug 2015 13:53:57 -0400

Subject: Configure core Python scripts into Nginx

In-Reply-To: <CAG5tnzqYdsHFROsbUGmfE76QHWgmgudR23+FQMa7Mtr0-gXt5A@mail.gmail.com>

References: <CAG5tnzqYdsHFROsbUGmfE76QHWgmgudR23+FQMa7Mtr0-gXt5A@mail.gmail.com>

Message-ID: <08fca2c19e4569a3e588091cce03c6f1.NginxMailingListEnglish@forum.nginx.org>

Ray Cote Wrote:

——————————————————-

> We use gUnicorn for our nginx/Django deployments.

> Lots of good guidance on the gUnicorn site:

> http://gunicorn-docs.readthedocs.org/en/latest/deploy.html

> nginx is their deployment of choice…

> -Ray

>

gunicorn (+nginx for static content, caching, ssl-offload and waf-features)

is what we use here

too on a couple of installations; its rock solid and easy to use.

cheers,

mex

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260791,260824#msg-260824

From nitinmlvya at gmail.com Thu Aug 6 18:07:23 2015

From: nitinmlvya at gmail.com (Nitin Solanki)

Date: Thu, 06 Aug 2015 18:07:23 +0000

Subject: Configure core Python scripts into Nginx

In-Reply-To: <08fca2c19e4569a3e588091cce03c6f1.NginxMailingListEnglish@forum.nginx.org>

References: <CAG5tnzqYdsHFROsbUGmfE76QHWgmgudR23+FQMa7Mtr0-gXt5A@mail.gmail.com>

<08fca2c19e4569a3e588091cce03c6f1.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <CA+fnCvXZnVtnyfBwjZ=8+Pbo7MUX2Wdq+tKtVW9_g3F7hDU1NA@mail.gmail.com>

Hi all, I am not using any python framework. Generally, I use core python

and making a call from php to python using AJAX. I found different ways to

configure python with Nginx but they all have python framework integration.

Any configuration, you have to follow for core python scripts Please help

me.

On Thu, Aug 6, 2015 at 11:24 PM mex <nginx-forum at nginx.us> wrote:

> Ray Cote Wrote:

> ——————————————————-

> > We use gUnicorn for our nginx/Django deployments.

> > Lots of good guidance on the gUnicorn site:

> > http://gunicorn-docs.readthedocs.org/en/latest/deploy.html

> > nginx is their deployment of choice…

> > -Ray

> >

>

> gunicorn (+nginx for static content, caching, ssl-offload and waf-features)

> is what we use here

> too on a couple of installations; its rock solid and easy to use.

>

>

>

> cheers,

>

> mex

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260791,260824#msg-260824

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150806/215ef85f/attachment.html&gt;

From nginx-forum at nginx.us Thu Aug 6 18:13:45 2015

From: nginx-forum at nginx.us (mex)

Date: Thu, 06 Aug 2015 14:13:45 -0400

Subject: Configure core Python scripts into Nginx

In-Reply-To: <CA+fnCvXZnVtnyfBwjZ=8+Pbo7MUX2Wdq+tKtVW9_g3F7hDU1NA@mail.gmail.com>

References: <CA+fnCvXZnVtnyfBwjZ=8+Pbo7MUX2Wdq+tKtVW9_g3F7hDU1NA@mail.gmail.com>

Message-ID: <2350c2748f099c9defd8d91fd7a4d5d6.NginxMailingListEnglish@forum.nginx.org>

if you ask for something like mod_cgi from the apache-world, there is

nothing like

this; the following article might help to define requirements and find a

solution:

>

https://www.digitalocean.com/community/tutorials/a-comparison-of-web-servers-for-python-based-web-applications

Nitin Solanki Wrote:

——————————————————-

> Hi all, I am not using any python framework. Generally, I use core

> python

> and making a call from php to python using AJAX. I found different

> ways to

> configure python with Nginx but they all have python framework

> integration.

> Any configuration, you have to follow for core python scripts Please

> help

> me.

>

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260791,260826#msg-260826

From nitinmlvya at gmail.com Thu Aug 6 18:16:34 2015

From: nitinmlvya at gmail.com (Nitin Solanki)

Date: Thu, 06 Aug 2015 18:16:34 +0000

Subject: Configure core Python scripts into Nginx

In-Reply-To: <2350c2748f099c9defd8d91fd7a4d5d6.NginxMailingListEnglish@forum.nginx.org>

References: <CA+fnCvXZnVtnyfBwjZ=8+Pbo7MUX2Wdq+tKtVW9_g3F7hDU1NA@mail.gmail.com>

<2350c2748f099c9defd8d91fd7a4d5d6.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <CA+fnCvWX5J9rc5kaqW-9YKrmbyAOereRgsuRjer4+sw5ZNvc5g@mail.gmail.com>

Hi,

Which one is better to configure with Nginx? Please can you suggest me

with steps. I explored more but didn’t getting anything. It will be very

helpful for me. If you guide me in steps. Thanks..

On Thu, Aug 6, 2015 at 11:44 PM mex <nginx-forum at nginx.us> wrote:

> if you ask for something like mod_cgi from the apache-world, there is

> nothing like

> this; the following article might help to define requirements and find a

> solution:

>

> >

>

> https://www.digitalocean.com/community/tutorials/a-comparison-of-web-servers-for-python-based-web-applications

>

>

>

> Nitin Solanki Wrote:

> ——————————————————-

> > Hi all, I am not using any python framework. Generally, I use core

> > python

> > and making a call from php to python using AJAX. I found different

> > ways to

> > configure python with Nginx but they all have python framework

> > integration.

> > Any configuration, you have to follow for core python scripts Please

> > help

> > me.

> >

>

> Posted at Nginx Forum:

> http://forum.nginx.org/read.php?2,260791,260826#msg-260826

>

> _______________________________________________

> nginx mailing list

> nginx at nginx.org

> http://mailman.nginx.org/mailman/listinfo/nginx

>

————– next part ————–

An HTML attachment was scrubbed…

URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150806/8b7e353d/attachment.html&gt;

From nginx-forum at nginx.us Thu Aug 6 19:04:59 2015

From: nginx-forum at nginx.us (sudharshanr)

Date: Thu, 06 Aug 2015 15:04:59 -0400

Subject: Rerouting based on content-type of request

Message-ID: <24076472f324e6ead3f24dd20ba79a91.NginxMailingListEnglish@forum.nginx.org>

I’m having a reverse-proxied Nginx server. I wanted to know if it is

possible to redirect the request in Nginx based on the content-type of the

request?

Right now, I’m checking the URL for a keyword, and based on that, I redirect

the request. So it is something like this:

location ~*/(keyword){

proxy_pass http://127.0.0.1:6565;

}

But now I have another URL having the same keyword. However, the

content-type of the request will be ‘application/json’, and I need to

forward that request to port 8080. Is it possible to differentiate between

these two urls? I’m using Nginx 1.6.2.

Thanks.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260830,260830#msg-260830

From nginx-forum at nginx.us Thu Aug 6 19:47:14 2015

From: nginx-forum at nginx.us (itpp2012)

Date: Thu, 06 Aug 2015 15:47:14 -0400

Subject: Rerouting based on content-type of request

In-Reply-To: <24076472f324e6ead3f24dd20ba79a91.NginxMailingListEnglish@forum.nginx.org>

References: <24076472f324e6ead3f24dd20ba79a91.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <022e3067bb246c46cc76f09c71853758.NginxMailingListEnglish@forum.nginx.org>

Close enough: http://forum.nginx.org/read.php?2,239473,239473#msg-239473

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260830,260831#msg-260831

From mdounin at mdounin.ru Thu Aug 6 19:57:59 2015

From: mdounin at mdounin.ru (Maxim Dounin)

Date: Thu, 6 Aug 2015 22:57:59 +0300

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <460c40b28555a4225385f6f4e65510b5.NginxMailingListEnglish@forum.nginx.org>

References: <3e13103f2fbe0508b4c57caebad87e19.NginxMailingListEnglish@forum.nginx.org>

<460c40b28555a4225385f6f4e65510b5.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150806195759.GD15954@mdounin.ru>

Hello!

On Thu, Aug 06, 2015 at 09:16:38AM -0400, tunist wrote:

> i have now created question on this topic on serverfault and on

> stackexchange’s video site – but have not found the solution to the problem.

> i have looked into all the answers i have received so far and none have made

> any difference to the fact that my server is not reliably serving video. all

> my MP4s are now processed to relocate the moov atom.

> anyone got any additional thoughts? is there a github issue i can open or

> some other bug tracker for nginx?

Bugs in nginx are to be reported via trac.nginx.org. But please

note that for now nothing in this thread and/or in your serverfault

question indicate there is a bug in nginx.

Maxim Dounin

http://nginx.org/

From nginx-forum at nginx.us Thu Aug 6 20:12:35 2015

From: nginx-forum at nginx.us (tunist)

Date: Thu, 06 Aug 2015 16:12:35 -0400

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <20150806195759.GD15954@mdounin.ru>

References: <20150806195759.GD15954@mdounin.ru>

Message-ID: <2c29128b52816746652195cc89f1add8.NginxMailingListEnglish@forum.nginx.org>

i mentioned the possibility of a bug since i have already exhausted all

options presented to me via numerous channels of research and support. i

will post my server/site’s full config to serverfault shorly.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260833#msg-260833

From nginx-forum at nginx.us Thu Aug 6 23:26:34 2015

From: nginx-forum at nginx.us (tunist)

Date: Thu, 06 Aug 2015 19:26:34 -0400

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <20150806195759.GD15954@mdounin.ru>

References: <20150806195759.GD15954@mdounin.ru>

Message-ID: <59bfca2b17464846052625c658d8abd7.NginxMailingListEnglish@forum.nginx.org>

i have now updated the serverfault question to include the nginx config

files.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260615,260835#msg-260835

From francis at daoine.org Fri Aug 7 00:18:48 2015

From: francis at daoine.org (Francis Daly)

Date: Fri, 7 Aug 2015 01:18:48 +0100

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <59bfca2b17464846052625c658d8abd7.NginxMailingListEnglish@forum.nginx.org>

References: <20150806195759.GD15954@mdounin.ru>

<59bfca2b17464846052625c658d8abd7.NginxMailingListEnglish@forum.nginx.org>

Message-ID: <20150807001848.GP23844@daoine.org>

On Thu, Aug 06, 2015 at 07:26:34PM -0400, tunist wrote:

Hi there,

> i have now updated the serverfault question to include the nginx config

> files.

It looks like the question at http://serverfault.com/questions/710304/

has been changed so most current comments now look broken.

That’s one downside of not using something like a mailing list where

the original context can be seen, even after the event.

Can I suggest you use a test server {} block, and strip that section of

your nginx.conf down to only what is essential to show the problem that

you are reporting?

(And post the smaller config here, so that people will be able to

copy-paste it into their test systems and reproduce exactly what you

are reporting.)

Right now, it looks to me as if your config says that a request for

/file.mp4 will be handled in “location / {}”, which will just serve the

file /usr/local/nginx/html/file.mp4.

Is that what you expect? If so, you can remove all of the other location

{} blocks and have an effectively identical config for this request,

which will be much easier to analyse without getting distracted.

Also, you seem to be testing with “curl -I -r”, and being surprised at

a HTTP 200 response. nginx returns HTTP 200 to HEAD requests for files.

Use something like “curl -i -r 5-10 http…file.mp4 | cat -v” to see

whether it sends a HTTP 206 with suitable headers. If it doesn’t, then

you may have found an nginx problem.

(Right now, your example url gives me HTTP 302 and indicates that PHP

is involved somehow. It’s hard to analyse things if they change silently.)

Good luck with it,

f

Francis Daly francis at daoine.org

From francis at daoine.org Fri Aug 7 01:12:40 2015

From: francis at daoine.org (Francis Daly)

Date: Fri, 7 Aug 2015 02:12:40 +0100

Subject: mp4 streaming/seeking works from firefox (fedora) and not from

firefox (windows) (nginx 1.9.3)

In-Reply-To: <20150807001848.GP23844@daoine.org>

References: <20150806195759.GD15954@mdounin.ru>

<59bfca2b17464846052625c658d8abd7.NginxMailingListEnglish@forum.nginx.org>

<20150807001848.GP23844@daoine.org>

Message-ID: <20150807011240.GQ23844@daoine.org>

On Fri, Aug 07, 2015 at 01:18:48AM +0100, Francis Daly wrote:

> On Thu, Aug 06, 2015 at 07:26:34PM -0400, tunist wrote:

Hi there,

> Also, you seem to be testing with “curl -I -r”, and being surprised at

> a HTTP 200 response. nginx returns HTTP 200 to HEAD requests for files.

That last sentence is incorrect.

It can return 200 and it can return 206; it depends on the actual

request made.

For example, “Range:” and “Content-Range:” request headers can lead to

different responses.

f

Francis Daly francis at daoine.org

From nginx-forum at nginx.us Fri Aug 7 01:44:18 2015

From: nginx-forum at nginx.us (mojiz)

Date: Thu, 06 Aug 2015 21:44:18 -0400

Subject: connection timeout on download server

Message-ID: <db324d83439f9b30c8dc384e7e7fdd29.NginxMailingListEnglish@forum.nginx.org>

Hi

I have an nginx setup on multiple download servers. I’ve setup a monitor

server to check my servers at interval and when the servers seem to be at

their peak I get connection timeout from my servers. I’ve set limit_conn 64

for each remote_ip

to make sure one user can’t hog the server.

today when I was receiving the timeout warnings, I checked the stub status

of my server and it seems the server connection is nowhere near it’s

limits.

This is the stub status page:

Server 1:

Active connections: 764

server accepts handled requests

326451 326451 346395

Reading: 0 Writing: 604 Waiting: 160

Server 2:

Active connections: 426

server accepts handled requests

538407 538407 576918

Reading: 0 Writing: 418 Waiting: 8

However my config files are way too high:

worker_processes 1;

pid /run/nginx.pid;

worker_rlimit_nofile 90000;

events {

worker_connections 64000;

multi_accept on;

}

http{

#aio on; turned off for linux

upload_progress uploads 5m;

sendfile off;

output_buffers 1 1m;

directio 512;

tcp_nopush on;

tcp_nodelay on;

types_hash_max_size 2048;

server_tokens off;

server_names_hash_bucket_size 128;

variables_hash_max_size 1024;

}

server{

….

# limit perip

limit_rate_after 1m;

limit_rate 96k;

limit_conn perip 64;

}

nginx version: nginx/1.6.2

Linux s17 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24)

x86_64 GNU/Linux

Am I missing something? Is there another connection limitation I should know

of?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260839,260839#msg-260839

From nginx-forum at nginx.us Fri Aug 7 05:39:05 2015

From: nginx-forum at nginx.us (arlin)

Date: Fri, 07 Aug 2015 01:39:05 -0400

Subject: try_files and proxypass

Message-ID: <a99e0c652a91c9270f16eb61a5431060.NginxMailingListEnglish@forum.nginx.org>

Hi,

I came across such configs and I am curios to know what @app_$dc; matches

in location configs?

try_files $uri @app_$dc;

location @app_prod { proxy_pass http://app_prod;}

location @app_qadc { proxy_pass http://app_qadc;}

Thanks

ar

Lamont

Lamont – Em alguns casos, o sobrenome é originário da Escócia e da Irlanda do Norte. O nome deriva do nome pessoal medieval Lagman, que é do antigo nórdico Logmaðr. O nome nórdico antigo Logmaðr é composto por dois elementos: log, que é plural de lag, que significa “lei” (de leggja, que significa “estabelecer”) + maðr, que significa “homem”.

o Clã Lamont

Em alguns casos, o sobrenome é originário da França. Nesse caso, Lamont ou LaMont é um nome habitacional derivado de vários lugares diferentes chamados Amont (significando a montante ou subindo) em Haute-Saône e Haute-Vienne.

Pessoas com o sobrenome Lamont ou LaMont

  • Alasdair Lamont, apresentador de esportes escocês
  • Ann Lamont, capitalista de risco americana
  • Billy Lamont (nascido em 1936), jogador e gerente de futebol escocês
  • Bishop Lamont (nascido em 1978), rapper americano
  • Byron Lamont (nascido em 1945), botânico australiano
  • Charles Lamont (1895-1993), cineasta americano
  • Chris LaMont, cineasta e co-fundador do Phoenix Film Festival

Christine Lamont (nascida em 1959), envolvida no seqüestro do empresário brasileiro Abilio Diniz em 1989

Corliss Lamont (1902-1995), filósofo socialista americano

Daniel S. Lamont (1851-1905), Secretário de Guerra dos Estados Unidos durante o segundo mandato de Grover Cleveland

Dean LaMont, diretor de televisão e operador de câmera

Donal Lamont (1911-2003), bispo irlandês-rodesiano católico e missionário

Duncan Lamont (1918-1978), ator britânico

Gene Lamont (nascido em 1946), jogador e gerente de beisebol americano

George Lamont, jogador de futebol da Nova Zelândia

George D. Lamont (1819-1876), advogado e político de Nova York

Glenn Lamont, ator inglês

James Lamont (1875-desconhecido), jogador de futebol inglês

Jason Lamont, soldado canadense que foi um dos primeiros a receber a Medalha de Valor Militar

Joe Lamont, cantor e compositor de rock e músico

Johann Lamont (nascido em 1957), político escocês

Johann von Lamont (1805-1879), astrônomo e mágico escocês-alemão

John Henderson Lamont, juiz e político canadense

John Salmon Lamont (1885-1964), político canadense

John Lamont (nascido em 1976), político escocês

John Lamont (1772-1850), plantador de açúcar escocês

Michèle Lamont (nascida em 1957), socióloga canadense

Molly Lamont (1910–2001), atriz de cinema britânica

Ned Lamont (nascido em 1954), empresário e político americano, 89º governador de Connecticut

Norman Lamont (nascido em 1942), político britânico

Peter Lamont (nascido em 1929), decorador de cenários

Peter Lamont, jogador de futebol escocês

Peter Lamont, historiador e mágico escocês

Robert P. Lamont (1867-1948), Secretário de Comércio dos Estados Unidos durante a administração de Herbert Hoover

Rory Lamont, jogador de rugby escocês

Leite Danillo Marketing Manager and SEO Expert

Sean Lamont, jogador de rugby escocês

Thomas W. Lamont (1870–1948), banqueiro americano

William C. Lamont (nascido em 1827), advogado e político de Nova York

Pessoas com o nome dado Lamont ou LaMont

Lamont Bentley (1973-2005), ator e rapper americano

Lamont Brightful (nascido em 1979), jogador de futebol americano

Lamont Bryan (nascido em 1988), jogador internacional de rugby da Jamaica, nascido na Alemanha

Lamont Coleman (1974-1999), rapper americano conhecido profissionalmente como Big L

Lamont Dozier (nascido em 1941), cantor e compositor americano e produtor musical

Lamont Gaillard (nascido em 1996), jogador de futebol americano

Lamont Hollinquest (nascido em 1970), jogador de futebol americano

Lamont Johnson (1922-2010), ator e diretor de cinema americano

LaMont Johnson (1941-1999), pianista de jazz americano

LaMont Jordan (nascido em 1978), jogador e treinador de futebol americano

Lamont Pearson (nascido em 1971), boxeador americano

Lamont Peterson (nascido em 1984), boxeador americano

Lamont Reese (1977-2006), assassino condenado americano

Lamont Reid (nascido em 1982), jogador de futebol americano

Lamont Sanford, personagem fictício interpretado por Redd Foxx na comédia de 1972-1977 Sanford and Son

LaMont Smith (nascido em 1972), atleta olímpico americano

Lamont Strothers (nascido em 1968), jogador de basquete americano

Lamont Thompson (nascido em 1978), jogador de futebol americano

Lamont Warren (nascido em 1973), jogador de futebol americano

Lamont Young (1851-1880), agrimensor assistente geológico australiano do Departamento de Minas de New South Wales

Lamont Young (Nápoles) (1851-1929), arquiteto e urbanista italiano

Duncan Lamont Clinch (1787-1849), oficial do exército americano

Harold Lamont Otey (1951-1994), assassino condenado americano

Marianne Lamont Horinko (nascida em 1961), trabalhou na Agência de Proteção Ambiental dos Estados Unidos (EPA) durante o primeiro mandato de George W. Bush

Lamont Library Harvard

University library in Cambridge, Massachusetts

11 Quincy St, Cambridge, MA 02138

Lamont Library. A creative space with a wide range of services supporting the humanities and social sciences. Find study spaces for collaboration or quiet study, …

Main Desk: 9am – 12am

Media Help: 9am – 10pm

User Research Center: By Appointment

Located in: Harvard University