浏览代码

修改nginx user root

willliamguo 3 年之前
父节点
当前提交
8cec80e529
共有 2 个文件被更改,包括 13 次插入8 次删除
  1. 12 7
      .idea/workspace.xml
  2. 1 1
      business/nginx/nginx.conf

+ 12 - 7
.idea/workspace.xml

@@ -1,11 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <component name="ChangeListManager">
-    <list default="true" id="41dc853c-f418-44c7-ba5d-2164f3f0373a" name="Default" comment="update">
-      <change afterPath="$PROJECT_DIR$/.idea/google-java-format.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/business/docker-compose-multi.yml" beforeDir="false" afterPath="$PROJECT_DIR$/business/docker-compose-multi.yml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/business/nginx/sites-enabled/default" beforeDir="false" afterPath="$PROJECT_DIR$/business/nginx/sites-enabled/default" afterDir="false" />
+    <list default="true" id="41dc853c-f418-44c7-ba5d-2164f3f0373a" name="Default" comment="修改IP">
+      <change beforePath="$PROJECT_DIR$/business/nginx/nginx.conf" beforeDir="false" afterPath="$PROJECT_DIR$/business/nginx/nginx.conf" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -265,7 +262,14 @@
       <option name="project" value="LOCAL" />
       <updated>1623142561807</updated>
     </task>
-    <option name="localTasksCounter" value="10" />
+    <task id="LOCAL-00010" summary="修改IP">
+      <created>1635169361686</created>
+      <option name="number" value="00010" />
+      <option name="presentableId" value="LOCAL-00010" />
+      <option name="project" value="LOCAL" />
+      <updated>1635169361686</updated>
+    </task>
+    <option name="localTasksCounter" value="11" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
@@ -295,7 +299,8 @@
     <MESSAGE value="修改main-site配置" />
     <MESSAGE value="增加init-all.sh" />
     <MESSAGE value="update" />
-    <option name="LAST_COMMIT_MESSAGE" value="update" />
+    <MESSAGE value="修改IP" />
+    <option name="LAST_COMMIT_MESSAGE" value="修改IP" />
   </component>
   <component name="masterDetails">
     <states>

+ 1 - 1
business/nginx/nginx.conf

@@ -1,4 +1,4 @@
-user www-data;
+user root;
 worker_processes auto;
 pid /run/nginx.pid;