Browse Source

修改nginx配置文件

xiaoct 7 years ago
parent
commit
a6416f0500
1 changed files with 21 additions and 1 deletions
  1. 21 1
      default

+ 21 - 1
default

@@ -1,9 +1,29 @@
 server {
 	listen 80;
 	server_name 192.168.253.189;
-	access_log /var/log/nginx/fuck.log;
+	access_log /var/log/nginx/server.log;
 	root /var/jenkins_home/workspace/bi-web/dist;
 	index index.html index.htm;
 	location / {
 	}
 }
+server {
+	listen 81;
+	server_name 192.168.253.189:81;
+	access_log /var/log/nginx/gitbook_dev.log;
+	root /var/jenkins_home/workspace/bi-web/gitbook/dev/_book;
+	index index.html index.htm;
+	location / {
+	}
+}
+
+server {
+	listen 82;
+	server_name 192.168.253.189:82;
+	access_log /var/log/nginx/gitbook_product.log;
+	root /var/jenkins_home/workspace/bi-web/gitbook/product/_book;
+	index index.html index.htm;
+	location / {
+	}
+}
+