Re: N00b: Forwarding the full request to upstream server

2018-02-04 Thread Friscia, Michael
I’m interested in this answer as well but will offer what I’ve done so far. In your example, the only thing I’ve added are these three lines in the location block: proxy_cache_valid 200 1y; proxy_cache_bypass 1; proxy_no_cache 1; But I am not sure I am doing this correctly because I am running

N00b: Forwarding the full request to upstream server

2018-02-04 Thread Joel Parker
I have a situation where I receive a request like: http://device.healthcheck.com/ready I want this to be sent to a server upstream but keep the full request intact. For example: server { resolver 8.8.8.8; listen 80; location / {

Re: help

2018-02-04 Thread Артём VZ
Или как можно достичь распределение по менее нагруженным серверам и при этом с сохранением сессии 26 января 2018 г., 16:33 пользователь Артём VZ написал: > Тобишь вот так правильно. Можно ли применять при балансировке одновременно > least_conn; и ip_hash; будут ли

[nginx] enhance options

2018-02-04 Thread 洪志道
Hi! Maybe it's better to keep the options more complete, and consider the follow operation as a mistake. /usr/local/nginx/sbin/nginx - hg diff diff -r cbf59d483c9c src/core/nginx.c --- a/src/core/nginx.c Tue Jan 16 13:52:03 2018 +0300 +++ b/src/core/nginx.c Sun Feb 04 07:41:36 2018 -0500 @@

Re: [PATCH] Add application/webassembly content type

2018-02-04 Thread Maxim Dounin
Hello! On Fri, Feb 02, 2018 at 04:16:53PM +0100, Niklas Fiekas wrote: > Well, this is embarrassing. The correct content type is actually > application/wasm. (application/webassembly was overruled because > Chromium went ahead with the other one.) > >

Re: help

2018-02-04 Thread Maxim Dounin
Hello! On Sun, Feb 04, 2018 at 06:43:49PM +0500, Артём VZ wrote: > Или как можно достичь распределение по менее нагруженным серверам и при > этом с сохранением сессии Попробуйте хранить сессии так, чтобы к ним имели доступ все бэкенды. -- Maxim Dounin http://mdounin.ru/

Fwd: Proposal: Change folder for PHP CGI scripts

2018-02-04 Thread Benedikt Roßgardt via nginx-devel
Hi,When using the default configuration from the nginx.conf file, I was running into "File not found" issues. The problem for me was that the default configuration is pointing to the /script folder instead of my document root.Maybe there is a reason for it, but I propose to use the root document

Re: [nginx] enhance options

2018-02-04 Thread Junwang Zhao
LGTM On Sun, Feb 4, 2018 at 8:49 PM, 洪志道 wrote: > Hi! > > Maybe it's better to keep the options more complete, and consider the > follow operation as a mistake. > > /usr/local/nginx/sbin/nginx - > > hg diff > diff -r cbf59d483c9c src/core/nginx.c > --- a/src/core/nginx.c

Re: Отбработка команд в файле htaccess

2018-02-04 Thread Anton Bessonov
Зачем столько рекламы? Для агенства очень слабенько, однако. Для решения проблемы просто установите Apache и .htaccess начнёт обрабатываться, если в конфигурации не напортачите. On 31.01.2018 09:39, koz...@texterra.ru wrote: Вас беспокоит интернет-агенство Texterra, мы оказываем услуги