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_r389344201
 
 

 ##########
 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:
   Using `root` as the user is dangerous and is likely to be exploited by 
hackers

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