Welcome! Log In Create A New Profile

Advanced

Re: Feature Request for access_log stdout;

Konstantin Pavlov
February 19, 2016 03:44AM
On 19/02/2016 02:56, Aleksandar Lazic wrote:
> access_log
> syslog:server=${NGINX_TEST_PORT_8514_UDP_ADDR}:${NGINX_TEST_PORT_8514_UDP_PORT};
>
> nginx: [alert] could not open error log file: open()
> "/var/log/nginx/error.log" failed (13: Permission denied)
> 2016/02/18 23:54:51 [warn] 12#12: the "user" directive makes sense only
> if the master process runs with super-user privileges, ignored in
> /tmp/nginx.conf:2
> 2016/02/18 23:54:51 [emerg] 12#12: invalid port in syslog server
> "${NGINX_TEST_PORT_8514_UDP_ADDR}:${NGINX_TEST_PORT_8514_UDP_PORT}" in
> /tmp/nginx.conf:22
> nginx: configuration file /tmp/nginx.conf test failed
>
> Any plans to add this possibility or have I missed something?

Please check the following:

https://hub.docker.com/_/nginx/, section "using environment variables in
nginx configuration". You will need nginx:1.9.10 docker tag or later.

--
Konstantin Pavlov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Feature Request for access_log stdout;

Aleksandar Lazic February 17, 2016 10:28AM

Re: Feature Request for access_log stdout;

Valentin V. Bartenev February 17, 2016 10:48AM

Re: Feature Request for access_log stdout;

Aleksandar Lazic February 17, 2016 02:06PM

Re: Feature Request for access_log stdout;

Andrew Hutchings February 18, 2016 04:46AM

Re: Feature Request for access_log stdout;

Andrew Hutchings February 18, 2016 04:56AM

Re: Feature Request for access_log stdout;

Aleksandar Lazic February 18, 2016 09:04AM

Re: Feature Request for access_log stdout;

Aleksandar Lazic February 18, 2016 06:58PM

Re: Feature Request for access_log stdout;

Konstantin Pavlov February 19, 2016 03:44AM

Re: Feature Request for access_log stdout;

Aleksandar Lazic February 21, 2016 02:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 145
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready