You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/03/05 10:04:15 UTC

[GitHub] [incubator-apisix] sshniro edited a comment on issue #1201: Adding warning message when running APISIX in root path

sshniro edited a comment on issue #1201: Adding warning message when running APISIX in root path
URL: https://github.com/apache/incubator-apisix/pull/1201#issuecomment-595137162
 
 
   > > BTW, if the current user is a root user, we need to add `user root;` in `conf/nginx.conf`, otherwise, the APISIX instance will not start properly.
   > > we can add it here:
   > > https://github.com/apache/incubator-apisix/blob/c84d79898cbc2b4029e86a1633f1bda1444e6c3a/bin/apisix#L91
   > 
   > we can not run APISIX with `user root`, which is not safe.
   > By the way, user should not directly use the `root` user to start APISIX.
   
   Then shall I exit the program if it is a root user? by checking with the `whoami`  ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services