----- Forwarded Message -----
From: "Scott Creeley" <scree...@redhat.com>
To: nginx-devel@nginx.org
Sent: Wednesday, November 11, 2015 12:13:49 PM
Subject: openshift-nginx docker image running as non-root

Hi,
Been playing around with the https://github.com/nginxinc/openshift-nginx  
dockerfile and trying to find a way to run run nginx as non-root with 
openshift/k8/docker.  Not having much luck, if I pass in a user or specify a 
user in the nginx.con or Dockerfile or via openshift/k8 runAsUser I always get 
some form permission errors.  Is there a way to do this or am I wasting my time 
messing with this?

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" 
failed (13: Permission denied)
2015/11/10 14:40:40 [warn] 1#1: the "user" directive makes sense only if the 
master process runs with super-user privileges, ignored in 
/etc/nginx/nginx.conf:2
2015/11/10 14:40:40 [emerg] 1#1: mkdir() "/var/cache/nginx/client_temp" failed 
(13: Permission denied)

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to