173799761 2 年之前
父節點
當前提交
09eb0a796e
共有 4 個文件被更改,包括 182 次插入2 次删除
  1. 32 2
      cdn加速域名.md
  2. 50 0
      demoday/djh.conf
  3. 50 0
      demoday/huifu.conf
  4. 50 0
      demoday/space.conf

+ 32 - 2
cdn加速域名.md

@@ -78,13 +78,43 @@ devres.ic1101.world 通过route53 A记录
 
 
 
-5.汇付  huifu.ic1101.world
+##### 5.汇付  huifu.ic1101.world
 
+huifu.ic1101.world 通过route53 A记录 
 
+1)路由到ALB albhuifu-1230046339.ap-southeast-1.elb.amazonaws.com
 
+2)路由到 EC2 上的服务器 `81` 端口  **这里通过ALB卸载443头标记**
 
+对应后端服务器域名 http://dev.ic1101.world:8091
+
+
+
+##### 6. djh画展  djh.ic1101.world
+
+djh.ic1101.world 通过route53 A记录 
+
+1)路由到ALB albmetahttp-864235103.ap-southeast-1.elb.amazonaws.com
+
+2)路由到 EC2 上的服务器 `82` 端口  **这里通过ALB卸载443头标记**
+
+对应后端服务器域名 http://dev.ic1101.world:8091
+
+
+
+
+
+##### 7. space  space.ic1101.world
+
+space.ic1101.world 通过route53 A记录 
+
+1)路由到ALB albmetahttp-864235103.ap-southeast-1.elb.amazonaws.com
+
+2)路由到 EC2 上的服务器 `83` 端口  **这里通过ALB卸载443头标记**
+
+对应后端服务器域名 http://dev.ic1101.world:8091
 
-UE域名 ue.ic1101.world 
+##### 8.UE域名 ue.ic1101.world 
 
 加速协议 tcp 加速端口 9980 ,19980
 

+ 50 - 0
demoday/djh.conf

@@ -0,0 +1,50 @@
+##
+# You should look at the following URL's in order to grasp a solid understanding
+# of Nginx configuration files in order to fully unleash the power of Nginx.
+# https://www.nginx.com/resources/wiki/start/
+# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
+# https://wiki.debian.org/Nginx/DirectoryStructure
+#
+# In most cases, administrators will remove this file from sites-enabled/ and
+# leave it as reference inside of sites-available where it will continue to be
+# updated by the nginx packaging team.
+#
+# This file will automatically load configuration files provided by other
+# applications, such as Drupal or Wordpress. These applications will be made
+# available underneath a path with that package name, such as /drupal8.
+#
+# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
+##
+
+# Default server configuration
+#
+server {
+	listen 82 default_server;
+	listen [::]:82 default_server;
+
+
+	root /game/web/djh;
+
+	# Add index.php to the list if you are using PHP
+	index index.html index.htm index.nginx-debian.html;
+
+	server_name _;
+	
+	location ^~ /new_battle/ {			
+		proxy_pass http://dev.ic1101.world:8091;		
+		proxy_redirect off;			
+		proxy_set_header Host $host;			
+		proxy_set_header X-Real-IP $remote_addr;			
+		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;		
+	}
+
+	location / {
+		 add_header 'Access-Control-Allow-Origin' '*';
+		 add_header 'Access-Control-Allow-Headers' '*';
+		 add_header 'Access-Control-Allow-Methods' '*';
+		try_files $uri $uri/ =404;
+	}
+
+
+}
+

+ 50 - 0
demoday/huifu.conf

@@ -0,0 +1,50 @@
+##
+# You should look at the following URL's in order to grasp a solid understanding
+# of Nginx configuration files in order to fully unleash the power of Nginx.
+# https://www.nginx.com/resources/wiki/start/
+# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
+# https://wiki.debian.org/Nginx/DirectoryStructure
+#
+# In most cases, administrators will remove this file from sites-enabled/ and
+# leave it as reference inside of sites-available where it will continue to be
+# updated by the nginx packaging team.
+#
+# This file will automatically load configuration files provided by other
+# applications, such as Drupal or Wordpress. These applications will be made
+# available underneath a path with that package name, such as /drupal8.
+#
+# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
+##
+
+# Default server configuration
+#
+server {
+	listen 81 default_server;
+	listen [::]:81 default_server;
+
+
+	root /game/web/huifu;
+
+	# Add index.php to the list if you are using PHP
+	index index.html index.htm index.nginx-debian.html;
+
+	server_name _;
+	
+	location ^~ /new_battle/ {			
+		proxy_pass http://dev.ic1101.world:8091;		
+		proxy_redirect off;			
+		proxy_set_header Host $host;			
+		proxy_set_header X-Real-IP $remote_addr;			
+		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;		
+	}
+
+	location / {
+		 add_header 'Access-Control-Allow-Origin' '*';
+		 add_header 'Access-Control-Allow-Headers' '*';
+		 add_header 'Access-Control-Allow-Methods' '*';
+		try_files $uri $uri/ =404;
+	}
+
+
+}
+

+ 50 - 0
demoday/space.conf

@@ -0,0 +1,50 @@
+##
+# You should look at the following URL's in order to grasp a solid understanding
+# of Nginx configuration files in order to fully unleash the power of Nginx.
+# https://www.nginx.com/resources/wiki/start/
+# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
+# https://wiki.debian.org/Nginx/DirectoryStructure
+#
+# In most cases, administrators will remove this file from sites-enabled/ and
+# leave it as reference inside of sites-available where it will continue to be
+# updated by the nginx packaging team.
+#
+# This file will automatically load configuration files provided by other
+# applications, such as Drupal or Wordpress. These applications will be made
+# available underneath a path with that package name, such as /drupal8.
+#
+# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
+##
+
+# Default server configuration
+#
+server {
+	listen 83 default_server;
+	listen [::]:83 default_server;
+
+
+	root /game/web/space;
+
+	# Add index.php to the list if you are using PHP
+	index index.html index.htm index.nginx-debian.html;
+
+	server_name _;
+	
+	location ^~ /new_battle/ {			
+		proxy_pass http://dev.ic1101.world:8091;		
+		proxy_redirect off;			
+		proxy_set_header Host $host;			
+		proxy_set_header X-Real-IP $remote_addr;			
+		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;		
+	}
+
+	location / {
+		 add_header 'Access-Control-Allow-Origin' '*';
+		 add_header 'Access-Control-Allow-Headers' '*';
+		 add_header 'Access-Control-Allow-Methods' '*';
+		try_files $uri $uri/ =404;
+	}
+
+
+}
+