diff --git a/etc/portal/2025-beijing-1/location.conf b/etc/portal/2025-beijing-1/location.conf new file mode 100644 index 00000000..34126634 --- /dev/null +++ b/etc/portal/2025-beijing-1/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-beijing-1; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-beijing-1; +} diff --git a/etc/portal/2025-beijing-1/server.conf b/etc/portal/2025-beijing-1/server.conf new file mode 100644 index 00000000..bebd5f65 --- /dev/null +++ b/etc/portal/2025-beijing-1/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-beijing-1.shylinux.com; + include portal/2025-beijing-1/location.conf; +} +server { + listen 80; + server_name 2025-beijing-1.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-beijing-1/upstream.conf b/etc/portal/2025-beijing-1/upstream.conf new file mode 100644 index 00000000..191228da --- /dev/null +++ b/etc/portal/2025-beijing-1/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-beijing-1 { + server 127.0.0.1:30006; +} diff --git a/etc/portal/2025-beijing-2/location.conf b/etc/portal/2025-beijing-2/location.conf new file mode 100644 index 00000000..fa470230 --- /dev/null +++ b/etc/portal/2025-beijing-2/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-beijing-2; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-beijing-2; +} diff --git a/etc/portal/2025-beijing-2/server.conf b/etc/portal/2025-beijing-2/server.conf new file mode 100644 index 00000000..eedc71cb --- /dev/null +++ b/etc/portal/2025-beijing-2/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-beijing-2.shylinux.com; + include portal/2025-beijing-2/location.conf; +} +server { + listen 80; + server_name 2025-beijing-2.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-beijing-2/upstream.conf b/etc/portal/2025-beijing-2/upstream.conf new file mode 100644 index 00000000..ebb555a2 --- /dev/null +++ b/etc/portal/2025-beijing-2/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-beijing-2 { + server 127.0.0.1:30007; +} diff --git a/etc/portal/2025-beijing-3/location.conf b/etc/portal/2025-beijing-3/location.conf new file mode 100644 index 00000000..00ce526e --- /dev/null +++ b/etc/portal/2025-beijing-3/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-beijing-3; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-beijing-3; +} diff --git a/etc/portal/2025-beijing-3/server.conf b/etc/portal/2025-beijing-3/server.conf new file mode 100644 index 00000000..31f2a26a --- /dev/null +++ b/etc/portal/2025-beijing-3/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-beijing-3.shylinux.com; + include portal/2025-beijing-3/location.conf; +} +server { + listen 80; + server_name 2025-beijing-3.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-beijing-3/upstream.conf b/etc/portal/2025-beijing-3/upstream.conf new file mode 100644 index 00000000..c5447bc8 --- /dev/null +++ b/etc/portal/2025-beijing-3/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-beijing-3 { + server 127.0.0.1:30008; +} diff --git a/etc/portal/2025-guangzhou-1/location.conf b/etc/portal/2025-guangzhou-1/location.conf new file mode 100644 index 00000000..9645d51d --- /dev/null +++ b/etc/portal/2025-guangzhou-1/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-guangzhou-1; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-guangzhou-1; +} diff --git a/etc/portal/2025-guangzhou-1/server.conf b/etc/portal/2025-guangzhou-1/server.conf new file mode 100644 index 00000000..8fd4497a --- /dev/null +++ b/etc/portal/2025-guangzhou-1/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-guangzhou-1.shylinux.com; + include portal/2025-guangzhou-1/location.conf; +} +server { + listen 80; + server_name 2025-guangzhou-1.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-guangzhou-1/upstream.conf b/etc/portal/2025-guangzhou-1/upstream.conf new file mode 100644 index 00000000..19243f73 --- /dev/null +++ b/etc/portal/2025-guangzhou-1/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-guangzhou-1 { + server 127.0.0.1:30000; +} diff --git a/etc/portal/2025-guangzhou-2/location.conf b/etc/portal/2025-guangzhou-2/location.conf new file mode 100644 index 00000000..d90694c5 --- /dev/null +++ b/etc/portal/2025-guangzhou-2/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-guangzhou-2; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-guangzhou-2; +} diff --git a/etc/portal/2025-guangzhou-2/server.conf b/etc/portal/2025-guangzhou-2/server.conf new file mode 100644 index 00000000..157d402b --- /dev/null +++ b/etc/portal/2025-guangzhou-2/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-guangzhou-2.shylinux.com; + include portal/2025-guangzhou-2/location.conf; +} +server { + listen 80; + server_name 2025-guangzhou-2.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-guangzhou-2/upstream.conf b/etc/portal/2025-guangzhou-2/upstream.conf new file mode 100644 index 00000000..10518f49 --- /dev/null +++ b/etc/portal/2025-guangzhou-2/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-guangzhou-2 { + server 127.0.0.1:30001; +} diff --git a/etc/portal/2025-guangzhou-3/location.conf b/etc/portal/2025-guangzhou-3/location.conf new file mode 100644 index 00000000..9492556c --- /dev/null +++ b/etc/portal/2025-guangzhou-3/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-guangzhou-3; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-guangzhou-3; +} diff --git a/etc/portal/2025-guangzhou-3/server.conf b/etc/portal/2025-guangzhou-3/server.conf new file mode 100644 index 00000000..073de9ba --- /dev/null +++ b/etc/portal/2025-guangzhou-3/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-guangzhou-3.shylinux.com; + include portal/2025-guangzhou-3/location.conf; +} +server { + listen 80; + server_name 2025-guangzhou-3.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-guangzhou-3/upstream.conf b/etc/portal/2025-guangzhou-3/upstream.conf new file mode 100644 index 00000000..1e39f7aa --- /dev/null +++ b/etc/portal/2025-guangzhou-3/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-guangzhou-3 { + server 127.0.0.1:30002; +} diff --git a/etc/portal/2025-shanghai-1/location.conf b/etc/portal/2025-shanghai-1/location.conf new file mode 100644 index 00000000..dd3e1e11 --- /dev/null +++ b/etc/portal/2025-shanghai-1/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-shanghai-1; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-shanghai-1; +} diff --git a/etc/portal/2025-shanghai-1/server.conf b/etc/portal/2025-shanghai-1/server.conf new file mode 100644 index 00000000..fdb75814 --- /dev/null +++ b/etc/portal/2025-shanghai-1/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-shanghai-1.shylinux.com; + include portal/2025-shanghai-1/location.conf; +} +server { + listen 80; + server_name 2025-shanghai-1.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-shanghai-1/upstream.conf b/etc/portal/2025-shanghai-1/upstream.conf new file mode 100644 index 00000000..595cee2b --- /dev/null +++ b/etc/portal/2025-shanghai-1/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-shanghai-1 { + server 127.0.0.1:30003; +} diff --git a/etc/portal/2025-shanghai-2/location.conf b/etc/portal/2025-shanghai-2/location.conf new file mode 100644 index 00000000..3f853446 --- /dev/null +++ b/etc/portal/2025-shanghai-2/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-shanghai-2; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-shanghai-2; +} diff --git a/etc/portal/2025-shanghai-2/server.conf b/etc/portal/2025-shanghai-2/server.conf new file mode 100644 index 00000000..6190a0af --- /dev/null +++ b/etc/portal/2025-shanghai-2/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-shanghai-2.shylinux.com; + include portal/2025-shanghai-2/location.conf; +} +server { + listen 80; + server_name 2025-shanghai-2.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-shanghai-2/upstream.conf b/etc/portal/2025-shanghai-2/upstream.conf new file mode 100644 index 00000000..c35a26a3 --- /dev/null +++ b/etc/portal/2025-shanghai-2/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-shanghai-2 { + server 127.0.0.1:30004; +} diff --git a/etc/portal/2025-shanghai-3/location.conf b/etc/portal/2025-shanghai-3/location.conf new file mode 100644 index 00000000..6cb44477 --- /dev/null +++ b/etc/portal/2025-shanghai-3/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-shanghai-3; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-shanghai-3; +} diff --git a/etc/portal/2025-shanghai-3/server.conf b/etc/portal/2025-shanghai-3/server.conf new file mode 100644 index 00000000..c07a0240 --- /dev/null +++ b/etc/portal/2025-shanghai-3/server.conf @@ -0,0 +1,10 @@ +server { + listen 443 ssl; + server_name 2025-shanghai-3.shylinux.com; + include portal/2025-shanghai-3/location.conf; +} +server { + listen 80; + server_name 2025-shanghai-3.shylinux.com; + include location/tohttps.conf; +} diff --git a/etc/portal/2025-shanghai-3/upstream.conf b/etc/portal/2025-shanghai-3/upstream.conf new file mode 100644 index 00000000..6c040712 --- /dev/null +++ b/etc/portal/2025-shanghai-3/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-shanghai-3 { + server 127.0.0.1:30005; +}