Re: Is there a wait to get at a module's main conf inside the loc conf's init?

2017-08-17 Thread ptcell
Maxim Dounin Wrote: --- > > Try ngx_http_conf_get_module_main_conf(). > > (Doing so in the create_loc_conf callback is probably pointless > though, as main conf contents can be changed later.) > > -- > Maxim Dounin > http://nginx.org/ >

Re: Is there a wait to get at a module's main conf inside the loc conf's init?

2017-08-17 Thread Maxim Dounin
Hello! On Thu, Aug 17, 2017 at 02:34:20AM -0400, ptcell wrote: > Maxim Dounin Wrote: > --- > > > > > Try ngx_http_conf_get_module_main_conf(). > > > > (Doing so in the create_loc_conf callback is probably pointless > > though, as main conf

Re: Reverse proxy for multiple domains

2017-08-17 Thread Francis Daly
On Thu, Aug 10, 2017 at 09:17:14PM +, Mik J via nginx wrote: Hi there, > I have application1.org and application2.org. > > The client requesting these URLs, arrives one the reverse proxy. > > On this reverse proxy I have a virtual host which looks like that > > server { > server_name

Re: is proxy_read_timeout effects for a slow response?

2017-08-17 Thread Francis Daly
On Tue, Aug 15, 2017 at 05:47:23AM -0400, foxgab wrote: Hi there, > if nginx connect to a proxied server successfully, but the server takes a > long time before starting to send the response, will proxy_read_timeout > directive effect? if not, is there any other directive do that timeout kind >

Ошибки при установке NGINX

2017-08-17 Thread Andrey_Bushman
Доброго времени суток. Ubuntu-16.04-x86_64 (сервер) Устанавливаю NGINX: > apt-get install nginx Получаю ошибки: Setting up nginx-core (1.10.3-0ubuntu0.16.04.2) ... Job for nginx.service failed because the control process exited with error code. See "systemctl status

Re: Ошибки при установке NGINX

2017-08-17 Thread Iurii Medvedev
Вначале внимательно изучить вывод journalctl -xe У вас же написано какую команду выполнить чтобы узнать детали 17 авг. 2017 г. 23:01 пользователь "Andrey_Bushman" < nginx-fo...@forum.nginx.org> написал: > Доброго времени суток. > > Ubuntu-16.04-x86_64 (сервер) > > Устанавливаю NGINX: > > >

Re: Ошибки при установке NGINX

2017-08-17 Thread Andrey_Bushman
Вывод обозначенных команд мне не сильно помог: root@bimpack:~# systemctl status nginx.service ● nginx.service - A high performance web server and a reverse proxy server Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code)

Re: Ошибки при установке NGINX

2017-08-17 Thread Iurii Medvedev
Как раз в логе все написано" Address already in use" 17 авг. 2017 г. 23:14 пользователь "Andrey_Bushman" < nginx-fo...@forum.nginx.org> написал: > Вывод обозначенных команд мне не сильно помог: > > root@bimpack:~# systemctl status nginx.service > ● nginx.service - A high performance web server