moonming commented on issue #1201: Adding warning message when running APISIX in root path URL: https://github.com/apache/incubator-apisix/pull/1201#issuecomment-595555739 > > > 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` ? I don't think so, user should check the permission issue. There may be other users and user groups, which is difficult for us to deal with.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
