Jelajahi Sumber

修改nginx为本地配置

郭超 4 tahun lalu
induk
melakukan
e61854e49f
2 mengubah file dengan 15 tambahan dan 8 penghapusan
  1. 13 6
      .idea/workspace.xml
  2. 2 2
      business/nginx/sites-enabled/default

+ 13 - 6
.idea/workspace.xml

@@ -1,10 +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="增加大图的配置">
+    <list default="true" id="41dc853c-f418-44c7-ba5d-2164f3f0373a" name="Default" comment="修改大图的配置">
       <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-local.yml" beforeDir="false" afterPath="$PROJECT_DIR$/business/docker-compose-multi-local.yml" 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>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
@@ -191,7 +189,8 @@
       <workItem from="1622184011904" duration="25750000" />
       <workItem from="1622548546624" duration="1652000" />
       <workItem from="1622605926143" duration="1773000" />
-      <workItem from="1622720156453" duration="1097000" />
+      <workItem from="1622720156453" duration="1514000" />
+      <workItem from="1622796983133" duration="24000" />
     </task>
     <task id="LOCAL-00001" summary="增加大图的配置">
       <created>1622720201192</created>
@@ -200,7 +199,14 @@
       <option name="project" value="LOCAL" />
       <updated>1622720201192</updated>
     </task>
-    <option name="localTasksCounter" value="2" />
+    <task id="LOCAL-00002" summary="修改大图的配置">
+      <created>1622725496974</created>
+      <option name="number" value="00002" />
+      <option name="presentableId" value="LOCAL-00002" />
+      <option name="project" value="LOCAL" />
+      <updated>1622725496974</updated>
+    </task>
+    <option name="localTasksCounter" value="3" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
@@ -225,7 +231,8 @@
   <component name="VcsManagerConfiguration">
     <MESSAGE value="增加本地启动配置" />
     <MESSAGE value="增加大图的配置" />
-    <option name="LAST_COMMIT_MESSAGE" value="增加大图的配置" />
+    <MESSAGE value="修改大图的配置" />
+    <option name="LAST_COMMIT_MESSAGE" value="修改大图的配置" />
   </component>
   <component name="masterDetails">
     <states>

+ 2 - 2
business/nginx/sites-enabled/default

@@ -1,7 +1,7 @@
 server {
 
     listen		80;
-    server_name	121.196.124.158; #改成对应的HOST
+    server_name	172.16.100.98; #改成对应的HOST
 
     location / {
         root   /usr/share/nginx/html;
@@ -24,7 +24,7 @@ server {
     }
 
     location /QC {
-        proxy_pass http://121.196.124.158:8080;
+        proxy_pass http://172.16.100.98:8080;
     }
 
     location /var {