moonming commented on a change in pull request #1201: Adding warning message 
when running APISIX in root path
URL: https://github.com/apache/incubator-apisix/pull/1201#discussion_r389345548
 
 

 ##########
 File path: bin/apisix
 ##########
 @@ -82,7 +87,9 @@ local ngx_tpl = [=[
 # This is a read-only file, do not try to modify it.
 
 master_process on;
-
+{% if is_root_path then %}
+user root;
 
 Review comment:
   yes, you are right:)
   IMO, We can print warnings, but we don't need to deal with the permission 
problem, and we don't need to be compatible with the situation of using root to 
start Apache APISIX.

----------------------------------------------------------------
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

Reply via email to