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/08 07:42:21 UTC

[GitHub] [incubator-apisix] moonming commented on a change in pull request #1201: Adding warning message when running APISIX in root path

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:
users@infra.apache.org


With regards,
Apache Git Services