Feature Request for access_log stdout;
Konstantin Pavlov
thresh at nginx.com
Fri Feb 19 08:42:33 UTC 2016
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
More information about the nginx
mailing list