From 3faeb859980c8036461460768b8b115bd9637424 Mon Sep 17 00:00:00 2001 From: shy Date: Fri, 14 Feb 2025 12:27:40 +0800 Subject: [PATCH] opt some --- etc/portal/2016/location.conf | 9 +++++++++ etc/portal/2016/server.conf | 11 +++++++++++ etc/portal/2016/upstream.conf | 3 +++ etc/portal/2021/location.conf | 9 +++++++++ etc/portal/2021/server.conf | 11 +++++++++++ etc/portal/2021/upstream.conf | 3 +++ etc/portal/2023-ContextOS/location.conf | 9 +++++++++ etc/portal/2023-ContextOS/server.conf | 11 +++++++++++ etc/portal/2023-ContextOS/upstream.conf | 3 +++ etc/portal/2023/location.conf | 9 +++++++++ etc/portal/2023/server.conf | 11 +++++++++++ etc/portal/2023/upstream.conf | 3 +++ etc/portal/2024-ContextOS/location.conf | 9 +++++++++ etc/portal/2024-ContextOS/server.conf | 11 +++++++++++ etc/portal/2024-ContextOS/upstream.conf | 3 +++ etc/portal/2024-guangdong/location.conf | 9 +++++++++ etc/portal/2024-guangdong/server.conf | 11 +++++++++++ etc/portal/2024-guangdong/upstream.conf | 3 +++ etc/portal/2024-jingganjiaoyu/location.conf | 9 +++++++++ etc/portal/2024-jingganjiaoyu/server.conf | 11 +++++++++++ etc/portal/2024-jingganjiaoyu/upstream.conf | 3 +++ etc/portal/2024-laoshaojiaju/location.conf | 9 +++++++++ etc/portal/2024-laoshaojiaju/server.conf | 11 +++++++++++ etc/portal/2024-laoshaojiaju/upstream.conf | 3 +++ etc/portal/2024-shandong/location.conf | 9 +++++++++ etc/portal/2024-shandong/server.conf | 11 +++++++++++ etc/portal/2024-shandong/upstream.conf | 3 +++ etc/portal/2024-yunxuanlinghang/location.conf | 9 +++++++++ etc/portal/2024-yunxuanlinghang/server.conf | 11 +++++++++++ etc/portal/2024-yunxuanlinghang/upstream.conf | 3 +++ etc/portal/2024-zelinqiche/location.conf | 9 +++++++++ etc/portal/2024-zelinqiche/server.conf | 11 +++++++++++ etc/portal/2024-zelinqiche/upstream.conf | 3 +++ etc/portal/2024/location.conf | 9 +++++++++ etc/portal/2024/server.conf | 11 +++++++++++ etc/portal/2024/upstream.conf | 3 +++ etc/portal/2025-ContextOS/location.conf | 9 +++++++++ etc/portal/2025-ContextOS/server.conf | 11 +++++++++++ etc/portal/2025-ContextOS/upstream.conf | 3 +++ etc/portal/2025-bbs/location.conf | 9 +++++++++ etc/portal/2025-bbs/server.conf | 11 +++++++++++ etc/portal/2025-bbs/upstream.conf | 3 +++ etc/portal/2025-dev/location.conf | 9 +++++++++ etc/portal/2025-dev/server.conf | 11 +++++++++++ etc/portal/2025-dev/upstream.conf | 3 +++ etc/portal/2025-foundation/location.conf | 9 +++++++++ etc/portal/2025-foundation/server.conf | 11 +++++++++++ etc/portal/2025-foundation/upstream.conf | 3 +++ etc/portal/2025-git/location.conf | 9 +++++++++ etc/portal/2025-git/server.conf | 11 +++++++++++ etc/portal/2025-git/upstream.conf | 3 +++ etc/portal/2025-pod/location.conf | 9 +++++++++ etc/portal/2025-pod/server.conf | 11 +++++++++++ etc/portal/2025-pod/upstream.conf | 3 +++ etc/portal/2025-support/location.conf | 9 +++++++++ etc/portal/2025-support/server.conf | 11 +++++++++++ etc/portal/2025-support/upstream.conf | 3 +++ etc/portal/2025-web/location.conf | 9 +++++++++ etc/portal/2025-web/server.conf | 11 +++++++++++ etc/portal/2025-web/upstream.conf | 3 +++ etc/portal/2025/location.conf | 9 +++++++++ etc/portal/2025/server.conf | 11 +++++++++++ etc/portal/2025/upstream.conf | 3 +++ etc/portal/bbs/location.conf | 9 +++++++++ etc/portal/bbs/server.conf | 11 +++++++++++ etc/portal/bbs/upstream.conf | 3 +++ etc/portal/demo/location.conf | 9 +++++++++ etc/portal/demo/server.conf | 11 +++++++++++ etc/portal/demo/upstream.conf | 3 +++ etc/portal/dev/location.conf | 9 +++++++++ etc/portal/dev/server.conf | 11 +++++++++++ etc/portal/dev/upstream.conf | 3 +++ etc/portal/foundation/location.conf | 9 +++++++++ etc/portal/foundation/server.conf | 11 +++++++++++ etc/portal/foundation/upstream.conf | 3 +++ etc/portal/git/location.conf | 9 +++++++++ etc/portal/git/server.conf | 11 +++++++++++ etc/portal/git/upstream.conf | 3 +++ etc/portal/h15/location.conf | 9 +++++++++ etc/portal/h15/server.conf | 11 +++++++++++ etc/portal/h15/upstream.conf | 3 +++ etc/portal/pod/location.conf | 9 +++++++++ etc/portal/pod/server.conf | 11 +++++++++++ etc/portal/pod/upstream.conf | 3 +++ etc/portal/shylinux/location.conf | 9 +++++++++ etc/portal/shylinux/server.conf | 12 ++++++++++++ etc/portal/shylinux/upstream.conf | 3 +++ etc/portal/support/location.conf | 9 +++++++++ etc/portal/support/server.conf | 11 +++++++++++ etc/portal/support/upstream.conf | 3 +++ etc/portal/web/location.conf | 9 +++++++++ etc/portal/web/server.conf | 11 +++++++++++ etc/portal/web/upstream.conf | 3 +++ 93 files changed, 714 insertions(+) create mode 100644 etc/portal/2016/location.conf create mode 100644 etc/portal/2016/server.conf create mode 100644 etc/portal/2016/upstream.conf create mode 100644 etc/portal/2021/location.conf create mode 100644 etc/portal/2021/server.conf create mode 100644 etc/portal/2021/upstream.conf create mode 100644 etc/portal/2023-ContextOS/location.conf create mode 100644 etc/portal/2023-ContextOS/server.conf create mode 100644 etc/portal/2023-ContextOS/upstream.conf create mode 100644 etc/portal/2023/location.conf create mode 100644 etc/portal/2023/server.conf create mode 100644 etc/portal/2023/upstream.conf create mode 100644 etc/portal/2024-ContextOS/location.conf create mode 100644 etc/portal/2024-ContextOS/server.conf create mode 100644 etc/portal/2024-ContextOS/upstream.conf create mode 100644 etc/portal/2024-guangdong/location.conf create mode 100644 etc/portal/2024-guangdong/server.conf create mode 100644 etc/portal/2024-guangdong/upstream.conf create mode 100644 etc/portal/2024-jingganjiaoyu/location.conf create mode 100644 etc/portal/2024-jingganjiaoyu/server.conf create mode 100644 etc/portal/2024-jingganjiaoyu/upstream.conf create mode 100644 etc/portal/2024-laoshaojiaju/location.conf create mode 100644 etc/portal/2024-laoshaojiaju/server.conf create mode 100644 etc/portal/2024-laoshaojiaju/upstream.conf create mode 100644 etc/portal/2024-shandong/location.conf create mode 100644 etc/portal/2024-shandong/server.conf create mode 100644 etc/portal/2024-shandong/upstream.conf create mode 100644 etc/portal/2024-yunxuanlinghang/location.conf create mode 100644 etc/portal/2024-yunxuanlinghang/server.conf create mode 100644 etc/portal/2024-yunxuanlinghang/upstream.conf create mode 100644 etc/portal/2024-zelinqiche/location.conf create mode 100644 etc/portal/2024-zelinqiche/server.conf create mode 100644 etc/portal/2024-zelinqiche/upstream.conf create mode 100644 etc/portal/2024/location.conf create mode 100644 etc/portal/2024/server.conf create mode 100644 etc/portal/2024/upstream.conf create mode 100644 etc/portal/2025-ContextOS/location.conf create mode 100644 etc/portal/2025-ContextOS/server.conf create mode 100644 etc/portal/2025-ContextOS/upstream.conf create mode 100644 etc/portal/2025-bbs/location.conf create mode 100644 etc/portal/2025-bbs/server.conf create mode 100644 etc/portal/2025-bbs/upstream.conf create mode 100644 etc/portal/2025-dev/location.conf create mode 100644 etc/portal/2025-dev/server.conf create mode 100644 etc/portal/2025-dev/upstream.conf create mode 100644 etc/portal/2025-foundation/location.conf create mode 100644 etc/portal/2025-foundation/server.conf create mode 100644 etc/portal/2025-foundation/upstream.conf create mode 100644 etc/portal/2025-git/location.conf create mode 100644 etc/portal/2025-git/server.conf create mode 100644 etc/portal/2025-git/upstream.conf create mode 100644 etc/portal/2025-pod/location.conf create mode 100644 etc/portal/2025-pod/server.conf create mode 100644 etc/portal/2025-pod/upstream.conf create mode 100644 etc/portal/2025-support/location.conf create mode 100644 etc/portal/2025-support/server.conf create mode 100644 etc/portal/2025-support/upstream.conf create mode 100644 etc/portal/2025-web/location.conf create mode 100644 etc/portal/2025-web/server.conf create mode 100644 etc/portal/2025-web/upstream.conf create mode 100644 etc/portal/2025/location.conf create mode 100644 etc/portal/2025/server.conf create mode 100644 etc/portal/2025/upstream.conf create mode 100644 etc/portal/bbs/location.conf create mode 100644 etc/portal/bbs/server.conf create mode 100644 etc/portal/bbs/upstream.conf create mode 100644 etc/portal/demo/location.conf create mode 100644 etc/portal/demo/server.conf create mode 100644 etc/portal/demo/upstream.conf create mode 100644 etc/portal/dev/location.conf create mode 100644 etc/portal/dev/server.conf create mode 100644 etc/portal/dev/upstream.conf create mode 100644 etc/portal/foundation/location.conf create mode 100644 etc/portal/foundation/server.conf create mode 100644 etc/portal/foundation/upstream.conf create mode 100644 etc/portal/git/location.conf create mode 100644 etc/portal/git/server.conf create mode 100644 etc/portal/git/upstream.conf create mode 100644 etc/portal/h15/location.conf create mode 100644 etc/portal/h15/server.conf create mode 100644 etc/portal/h15/upstream.conf create mode 100644 etc/portal/pod/location.conf create mode 100644 etc/portal/pod/server.conf create mode 100644 etc/portal/pod/upstream.conf create mode 100644 etc/portal/shylinux/location.conf create mode 100644 etc/portal/shylinux/server.conf create mode 100644 etc/portal/shylinux/upstream.conf create mode 100644 etc/portal/support/location.conf create mode 100644 etc/portal/support/server.conf create mode 100644 etc/portal/support/upstream.conf create mode 100644 etc/portal/web/location.conf create mode 100644 etc/portal/web/server.conf create mode 100644 etc/portal/web/upstream.conf diff --git a/etc/portal/2016/location.conf b/etc/portal/2016/location.conf new file mode 100644 index 00000000..ff7e164d --- /dev/null +++ b/etc/portal/2016/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2016; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2016; +} diff --git a/etc/portal/2016/server.conf b/etc/portal/2016/server.conf new file mode 100644 index 00000000..90febca8 --- /dev/null +++ b/etc/portal/2016/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2016.shylinux.com; + include portal/2016/location.conf; +} +server { + listen 80; + server_name 2016.shylinux.com; + include portal/2016/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2016/upstream.conf b/etc/portal/2016/upstream.conf new file mode 100644 index 00000000..e43a0f7c --- /dev/null +++ b/etc/portal/2016/upstream.conf @@ -0,0 +1,3 @@ +upstream 2016 { + server 127.0.0.1:9020; +} diff --git a/etc/portal/2021/location.conf b/etc/portal/2021/location.conf new file mode 100644 index 00000000..1559257e --- /dev/null +++ b/etc/portal/2021/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2021; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2021; +} diff --git a/etc/portal/2021/server.conf b/etc/portal/2021/server.conf new file mode 100644 index 00000000..e28fe1b8 --- /dev/null +++ b/etc/portal/2021/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2021.shylinux.com; + include portal/2021/location.conf; +} +server { + listen 80; + server_name 2021.shylinux.com; + include portal/2021/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2021/upstream.conf b/etc/portal/2021/upstream.conf new file mode 100644 index 00000000..5eef3ec7 --- /dev/null +++ b/etc/portal/2021/upstream.conf @@ -0,0 +1,3 @@ +upstream 2021 { + server 127.0.0.1:9021; +} diff --git a/etc/portal/2023-ContextOS/location.conf b/etc/portal/2023-ContextOS/location.conf new file mode 100644 index 00000000..53f0fbee --- /dev/null +++ b/etc/portal/2023-ContextOS/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2023-ContextOS; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2023-ContextOS; +} diff --git a/etc/portal/2023-ContextOS/server.conf b/etc/portal/2023-ContextOS/server.conf new file mode 100644 index 00000000..34e1289a --- /dev/null +++ b/etc/portal/2023-ContextOS/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2023-ContextOS.shylinux.com; + include portal/2023-ContextOS/location.conf; +} +server { + listen 80; + server_name 2023-ContextOS.shylinux.com; + include portal/2023-ContextOS/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2023-ContextOS/upstream.conf b/etc/portal/2023-ContextOS/upstream.conf new file mode 100644 index 00000000..f88e5b80 --- /dev/null +++ b/etc/portal/2023-ContextOS/upstream.conf @@ -0,0 +1,3 @@ +upstream 2023-ContextOS { + server 127.0.0.1:9030; +} diff --git a/etc/portal/2023/location.conf b/etc/portal/2023/location.conf new file mode 100644 index 00000000..d07542d9 --- /dev/null +++ b/etc/portal/2023/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2023; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2023; +} diff --git a/etc/portal/2023/server.conf b/etc/portal/2023/server.conf new file mode 100644 index 00000000..08badaa8 --- /dev/null +++ b/etc/portal/2023/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2023.shylinux.com; + include portal/2023/location.conf; +} +server { + listen 80; + server_name 2023.shylinux.com; + include portal/2023/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2023/upstream.conf b/etc/portal/2023/upstream.conf new file mode 100644 index 00000000..3d4b0c10 --- /dev/null +++ b/etc/portal/2023/upstream.conf @@ -0,0 +1,3 @@ +upstream 2023 { + server 127.0.0.1:9030; +} diff --git a/etc/portal/2024-ContextOS/location.conf b/etc/portal/2024-ContextOS/location.conf new file mode 100644 index 00000000..bba0389e --- /dev/null +++ b/etc/portal/2024-ContextOS/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024-ContextOS; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024-ContextOS; +} diff --git a/etc/portal/2024-ContextOS/server.conf b/etc/portal/2024-ContextOS/server.conf new file mode 100644 index 00000000..89fe5a4b --- /dev/null +++ b/etc/portal/2024-ContextOS/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024-ContextOS.shylinux.com; + include portal/2024-ContextOS/location.conf; +} +server { + listen 80; + server_name 2024-ContextOS.shylinux.com; + include portal/2024-ContextOS/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024-ContextOS/upstream.conf b/etc/portal/2024-ContextOS/upstream.conf new file mode 100644 index 00000000..d66498b4 --- /dev/null +++ b/etc/portal/2024-ContextOS/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024-ContextOS { + server 127.0.0.1:9050; +} diff --git a/etc/portal/2024-guangdong/location.conf b/etc/portal/2024-guangdong/location.conf new file mode 100644 index 00000000..50b7e8c4 --- /dev/null +++ b/etc/portal/2024-guangdong/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024-guangdong; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024-guangdong; +} diff --git a/etc/portal/2024-guangdong/server.conf b/etc/portal/2024-guangdong/server.conf new file mode 100644 index 00000000..6e55c9f7 --- /dev/null +++ b/etc/portal/2024-guangdong/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024-guangdong.shylinux.com; + include portal/2024-guangdong/location.conf; +} +server { + listen 80; + server_name 2024-guangdong.shylinux.com; + include portal/2024-guangdong/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024-guangdong/upstream.conf b/etc/portal/2024-guangdong/upstream.conf new file mode 100644 index 00000000..19cea978 --- /dev/null +++ b/etc/portal/2024-guangdong/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024-guangdong { + server 127.0.0.1:9042; +} diff --git a/etc/portal/2024-jingganjiaoyu/location.conf b/etc/portal/2024-jingganjiaoyu/location.conf new file mode 100644 index 00000000..aa651221 --- /dev/null +++ b/etc/portal/2024-jingganjiaoyu/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024-jingganjiaoyu; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024-jingganjiaoyu; +} diff --git a/etc/portal/2024-jingganjiaoyu/server.conf b/etc/portal/2024-jingganjiaoyu/server.conf new file mode 100644 index 00000000..a380ab55 --- /dev/null +++ b/etc/portal/2024-jingganjiaoyu/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024-jingganjiaoyu.shylinux.com; + include portal/2024-jingganjiaoyu/location.conf; +} +server { + listen 80; + server_name 2024-jingganjiaoyu.shylinux.com; + include portal/2024-jingganjiaoyu/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024-jingganjiaoyu/upstream.conf b/etc/portal/2024-jingganjiaoyu/upstream.conf new file mode 100644 index 00000000..faad4d7e --- /dev/null +++ b/etc/portal/2024-jingganjiaoyu/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024-jingganjiaoyu { + server 49.232.11.57:9045; +} diff --git a/etc/portal/2024-laoshaojiaju/location.conf b/etc/portal/2024-laoshaojiaju/location.conf new file mode 100644 index 00000000..8d0f9d8d --- /dev/null +++ b/etc/portal/2024-laoshaojiaju/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024-laoshaojiaju; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024-laoshaojiaju; +} diff --git a/etc/portal/2024-laoshaojiaju/server.conf b/etc/portal/2024-laoshaojiaju/server.conf new file mode 100644 index 00000000..b612d13c --- /dev/null +++ b/etc/portal/2024-laoshaojiaju/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024-laoshaojiaju.shylinux.com; + include portal/2024-laoshaojiaju/location.conf; +} +server { + listen 80; + server_name 2024-laoshaojiaju.shylinux.com; + include portal/2024-laoshaojiaju/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024-laoshaojiaju/upstream.conf b/etc/portal/2024-laoshaojiaju/upstream.conf new file mode 100644 index 00000000..d57bb320 --- /dev/null +++ b/etc/portal/2024-laoshaojiaju/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024-laoshaojiaju { + server 127.0.0.1:9043; +} diff --git a/etc/portal/2024-shandong/location.conf b/etc/portal/2024-shandong/location.conf new file mode 100644 index 00000000..fef8d5b0 --- /dev/null +++ b/etc/portal/2024-shandong/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024-shandong; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024-shandong; +} diff --git a/etc/portal/2024-shandong/server.conf b/etc/portal/2024-shandong/server.conf new file mode 100644 index 00000000..42898fbd --- /dev/null +++ b/etc/portal/2024-shandong/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024-shandong.shylinux.com; + include portal/2024-shandong/location.conf; +} +server { + listen 80; + server_name 2024-shandong.shylinux.com; + include portal/2024-shandong/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024-shandong/upstream.conf b/etc/portal/2024-shandong/upstream.conf new file mode 100644 index 00000000..fa6825d6 --- /dev/null +++ b/etc/portal/2024-shandong/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024-shandong { + server 127.0.0.1:9041; +} diff --git a/etc/portal/2024-yunxuanlinghang/location.conf b/etc/portal/2024-yunxuanlinghang/location.conf new file mode 100644 index 00000000..dbdfa7a8 --- /dev/null +++ b/etc/portal/2024-yunxuanlinghang/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024-yunxuanlinghang; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024-yunxuanlinghang; +} diff --git a/etc/portal/2024-yunxuanlinghang/server.conf b/etc/portal/2024-yunxuanlinghang/server.conf new file mode 100644 index 00000000..30539ada --- /dev/null +++ b/etc/portal/2024-yunxuanlinghang/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024-yunxuanlinghang.shylinux.com; + include portal/2024-yunxuanlinghang/location.conf; +} +server { + listen 80; + server_name 2024-yunxuanlinghang.shylinux.com; + include portal/2024-yunxuanlinghang/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024-yunxuanlinghang/upstream.conf b/etc/portal/2024-yunxuanlinghang/upstream.conf new file mode 100644 index 00000000..0af3aa49 --- /dev/null +++ b/etc/portal/2024-yunxuanlinghang/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024-yunxuanlinghang { + server 111.230.17.159:9046; +} diff --git a/etc/portal/2024-zelinqiche/location.conf b/etc/portal/2024-zelinqiche/location.conf new file mode 100644 index 00000000..5ad09df5 --- /dev/null +++ b/etc/portal/2024-zelinqiche/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024-zelinqiche; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024-zelinqiche; +} diff --git a/etc/portal/2024-zelinqiche/server.conf b/etc/portal/2024-zelinqiche/server.conf new file mode 100644 index 00000000..fe396515 --- /dev/null +++ b/etc/portal/2024-zelinqiche/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024-zelinqiche.shylinux.com; + include portal/2024-zelinqiche/location.conf; +} +server { + listen 80; + server_name 2024-zelinqiche.shylinux.com; + include portal/2024-zelinqiche/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024-zelinqiche/upstream.conf b/etc/portal/2024-zelinqiche/upstream.conf new file mode 100644 index 00000000..7b4a74bb --- /dev/null +++ b/etc/portal/2024-zelinqiche/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024-zelinqiche { + server 127.0.0.1:9044; +} diff --git a/etc/portal/2024/location.conf b/etc/portal/2024/location.conf new file mode 100644 index 00000000..c6d2e929 --- /dev/null +++ b/etc/portal/2024/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2024; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2024; +} diff --git a/etc/portal/2024/server.conf b/etc/portal/2024/server.conf new file mode 100644 index 00000000..56dda424 --- /dev/null +++ b/etc/portal/2024/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2024.shylinux.com; + include portal/2024/location.conf; +} +server { + listen 80; + server_name 2024.shylinux.com; + include portal/2024/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2024/upstream.conf b/etc/portal/2024/upstream.conf new file mode 100644 index 00000000..2355f981 --- /dev/null +++ b/etc/portal/2024/upstream.conf @@ -0,0 +1,3 @@ +upstream 2024 { + server 127.0.0.1:9040; +} diff --git a/etc/portal/2025-ContextOS/location.conf b/etc/portal/2025-ContextOS/location.conf new file mode 100644 index 00000000..49c503ec --- /dev/null +++ b/etc/portal/2025-ContextOS/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-ContextOS; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-ContextOS; +} diff --git a/etc/portal/2025-ContextOS/server.conf b/etc/portal/2025-ContextOS/server.conf new file mode 100644 index 00000000..f4652c8f --- /dev/null +++ b/etc/portal/2025-ContextOS/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-ContextOS.shylinux.com; + include portal/2025-ContextOS/location.conf; +} +server { + listen 80; + server_name 2025-ContextOS.shylinux.com; + include portal/2025-ContextOS/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-ContextOS/upstream.conf b/etc/portal/2025-ContextOS/upstream.conf new file mode 100644 index 00000000..e49dd849 --- /dev/null +++ b/etc/portal/2025-ContextOS/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-ContextOS { + server 127.0.0.1:9050; +} diff --git a/etc/portal/2025-bbs/location.conf b/etc/portal/2025-bbs/location.conf new file mode 100644 index 00000000..e5cf7f04 --- /dev/null +++ b/etc/portal/2025-bbs/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-bbs; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-bbs; +} diff --git a/etc/portal/2025-bbs/server.conf b/etc/portal/2025-bbs/server.conf new file mode 100644 index 00000000..11515d5a --- /dev/null +++ b/etc/portal/2025-bbs/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-bbs.shylinux.com; + include portal/2025-bbs/location.conf; +} +server { + listen 80; + server_name 2025-bbs.shylinux.com; + include portal/2025-bbs/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-bbs/upstream.conf b/etc/portal/2025-bbs/upstream.conf new file mode 100644 index 00000000..7a9e3213 --- /dev/null +++ b/etc/portal/2025-bbs/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-bbs { + server 127.0.0.1:9053; +} diff --git a/etc/portal/2025-dev/location.conf b/etc/portal/2025-dev/location.conf new file mode 100644 index 00000000..922cbf12 --- /dev/null +++ b/etc/portal/2025-dev/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-dev; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-dev; +} diff --git a/etc/portal/2025-dev/server.conf b/etc/portal/2025-dev/server.conf new file mode 100644 index 00000000..60a9121b --- /dev/null +++ b/etc/portal/2025-dev/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-dev.shylinux.com; + include portal/2025-dev/location.conf; +} +server { + listen 80; + server_name 2025-dev.shylinux.com; + include portal/2025-dev/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-dev/upstream.conf b/etc/portal/2025-dev/upstream.conf new file mode 100644 index 00000000..5ef491e6 --- /dev/null +++ b/etc/portal/2025-dev/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-dev { + server 127.0.0.1:9054; +} diff --git a/etc/portal/2025-foundation/location.conf b/etc/portal/2025-foundation/location.conf new file mode 100644 index 00000000..c98bb12e --- /dev/null +++ b/etc/portal/2025-foundation/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-foundation; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-foundation; +} diff --git a/etc/portal/2025-foundation/server.conf b/etc/portal/2025-foundation/server.conf new file mode 100644 index 00000000..f7520135 --- /dev/null +++ b/etc/portal/2025-foundation/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-foundation.shylinux.com; + include portal/2025-foundation/location.conf; +} +server { + listen 80; + server_name 2025-foundation.shylinux.com; + include portal/2025-foundation/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-foundation/upstream.conf b/etc/portal/2025-foundation/upstream.conf new file mode 100644 index 00000000..ab45943d --- /dev/null +++ b/etc/portal/2025-foundation/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-foundation { + server 127.0.0.1:9052; +} diff --git a/etc/portal/2025-git/location.conf b/etc/portal/2025-git/location.conf new file mode 100644 index 00000000..d62fb39d --- /dev/null +++ b/etc/portal/2025-git/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-git; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-git; +} diff --git a/etc/portal/2025-git/server.conf b/etc/portal/2025-git/server.conf new file mode 100644 index 00000000..fb4deae8 --- /dev/null +++ b/etc/portal/2025-git/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-git.shylinux.com; + include portal/2025-git/location.conf; +} +server { + listen 80; + server_name 2025-git.shylinux.com; + include portal/2025-git/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-git/upstream.conf b/etc/portal/2025-git/upstream.conf new file mode 100644 index 00000000..3291f5fb --- /dev/null +++ b/etc/portal/2025-git/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-git { + server 127.0.0.1:9055; +} diff --git a/etc/portal/2025-pod/location.conf b/etc/portal/2025-pod/location.conf new file mode 100644 index 00000000..1cd8c07f --- /dev/null +++ b/etc/portal/2025-pod/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-pod; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-pod; +} diff --git a/etc/portal/2025-pod/server.conf b/etc/portal/2025-pod/server.conf new file mode 100644 index 00000000..1df2e22e --- /dev/null +++ b/etc/portal/2025-pod/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-pod.shylinux.com; + include portal/2025-pod/location.conf; +} +server { + listen 80; + server_name 2025-pod.shylinux.com; + include portal/2025-pod/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-pod/upstream.conf b/etc/portal/2025-pod/upstream.conf new file mode 100644 index 00000000..6ed33011 --- /dev/null +++ b/etc/portal/2025-pod/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-pod { + server 127.0.0.1:9056; +} diff --git a/etc/portal/2025-support/location.conf b/etc/portal/2025-support/location.conf new file mode 100644 index 00000000..64d427fb --- /dev/null +++ b/etc/portal/2025-support/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-support; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-support; +} diff --git a/etc/portal/2025-support/server.conf b/etc/portal/2025-support/server.conf new file mode 100644 index 00000000..e339ce02 --- /dev/null +++ b/etc/portal/2025-support/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-support.shylinux.com; + include portal/2025-support/location.conf; +} +server { + listen 80; + server_name 2025-support.shylinux.com; + include portal/2025-support/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-support/upstream.conf b/etc/portal/2025-support/upstream.conf new file mode 100644 index 00000000..cc105d33 --- /dev/null +++ b/etc/portal/2025-support/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-support { + server 127.0.0.1:9051; +} diff --git a/etc/portal/2025-web/location.conf b/etc/portal/2025-web/location.conf new file mode 100644 index 00000000..bb020161 --- /dev/null +++ b/etc/portal/2025-web/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025-web; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025-web; +} diff --git a/etc/portal/2025-web/server.conf b/etc/portal/2025-web/server.conf new file mode 100644 index 00000000..af1baab4 --- /dev/null +++ b/etc/portal/2025-web/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025-web.shylinux.com; + include portal/2025-web/location.conf; +} +server { + listen 80; + server_name 2025-web.shylinux.com; + include portal/2025-web/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025-web/upstream.conf b/etc/portal/2025-web/upstream.conf new file mode 100644 index 00000000..a35b3039 --- /dev/null +++ b/etc/portal/2025-web/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025-web { + server 127.0.0.1:9057; +} diff --git a/etc/portal/2025/location.conf b/etc/portal/2025/location.conf new file mode 100644 index 00000000..6d8bd4cb --- /dev/null +++ b/etc/portal/2025/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://2025; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://2025; +} diff --git a/etc/portal/2025/server.conf b/etc/portal/2025/server.conf new file mode 100644 index 00000000..94d8b1c4 --- /dev/null +++ b/etc/portal/2025/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name 2025.shylinux.com; + include portal/2025/location.conf; +} +server { + listen 80; + server_name 2025.shylinux.com; + include portal/2025/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/2025/upstream.conf b/etc/portal/2025/upstream.conf new file mode 100644 index 00000000..9b4cdb67 --- /dev/null +++ b/etc/portal/2025/upstream.conf @@ -0,0 +1,3 @@ +upstream 2025 { + server 127.0.0.1:9050; +} diff --git a/etc/portal/bbs/location.conf b/etc/portal/bbs/location.conf new file mode 100644 index 00000000..31f53b8a --- /dev/null +++ b/etc/portal/bbs/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://bbs; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://bbs; +} diff --git a/etc/portal/bbs/server.conf b/etc/portal/bbs/server.conf new file mode 100644 index 00000000..48f80e06 --- /dev/null +++ b/etc/portal/bbs/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name bbs.shylinux.com; + include portal/bbs/location.conf; +} +server { + listen 80; + server_name bbs.shylinux.com; + include portal/bbs/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/bbs/upstream.conf b/etc/portal/bbs/upstream.conf new file mode 100644 index 00000000..784b2b91 --- /dev/null +++ b/etc/portal/bbs/upstream.conf @@ -0,0 +1,3 @@ +upstream bbs { + server 127.0.0.1:9053; +} diff --git a/etc/portal/demo/location.conf b/etc/portal/demo/location.conf new file mode 100644 index 00000000..c49f0ea2 --- /dev/null +++ b/etc/portal/demo/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://demo; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://demo; +} diff --git a/etc/portal/demo/server.conf b/etc/portal/demo/server.conf new file mode 100644 index 00000000..253ed7a2 --- /dev/null +++ b/etc/portal/demo/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name demo.shylinux.com; + include portal/demo/location.conf; +} +server { + listen 80; + server_name demo.shylinux.com; + include portal/demo/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/demo/upstream.conf b/etc/portal/demo/upstream.conf new file mode 100644 index 00000000..7659f841 --- /dev/null +++ b/etc/portal/demo/upstream.conf @@ -0,0 +1,3 @@ +upstream demo { + server 127.0.0.1:20076; +} diff --git a/etc/portal/dev/location.conf b/etc/portal/dev/location.conf new file mode 100644 index 00000000..35c7388b --- /dev/null +++ b/etc/portal/dev/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://dev; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://dev; +} diff --git a/etc/portal/dev/server.conf b/etc/portal/dev/server.conf new file mode 100644 index 00000000..94f74f43 --- /dev/null +++ b/etc/portal/dev/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name dev.shylinux.com; + include portal/dev/location.conf; +} +server { + listen 80; + server_name dev.shylinux.com; + include portal/dev/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/dev/upstream.conf b/etc/portal/dev/upstream.conf new file mode 100644 index 00000000..81750cce --- /dev/null +++ b/etc/portal/dev/upstream.conf @@ -0,0 +1,3 @@ +upstream dev { + server 127.0.0.1:9054; +} diff --git a/etc/portal/foundation/location.conf b/etc/portal/foundation/location.conf new file mode 100644 index 00000000..abd83458 --- /dev/null +++ b/etc/portal/foundation/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://foundation; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://foundation; +} diff --git a/etc/portal/foundation/server.conf b/etc/portal/foundation/server.conf new file mode 100644 index 00000000..bb3f2fb2 --- /dev/null +++ b/etc/portal/foundation/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name foundation.shylinux.com; + include portal/foundation/location.conf; +} +server { + listen 80; + server_name foundation.shylinux.com; + include portal/foundation/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/foundation/upstream.conf b/etc/portal/foundation/upstream.conf new file mode 100644 index 00000000..38cba7b0 --- /dev/null +++ b/etc/portal/foundation/upstream.conf @@ -0,0 +1,3 @@ +upstream foundation { + server 127.0.0.1:9052; +} diff --git a/etc/portal/git/location.conf b/etc/portal/git/location.conf new file mode 100644 index 00000000..6c2358ff --- /dev/null +++ b/etc/portal/git/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://git; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://git; +} diff --git a/etc/portal/git/server.conf b/etc/portal/git/server.conf new file mode 100644 index 00000000..6b289394 --- /dev/null +++ b/etc/portal/git/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name git.shylinux.com; + include portal/git/location.conf; +} +server { + listen 80; + server_name git.shylinux.com; + include portal/git/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/git/upstream.conf b/etc/portal/git/upstream.conf new file mode 100644 index 00000000..8124f64e --- /dev/null +++ b/etc/portal/git/upstream.conf @@ -0,0 +1,3 @@ +upstream git { + server 127.0.0.1:3000; +} diff --git a/etc/portal/h15/location.conf b/etc/portal/h15/location.conf new file mode 100644 index 00000000..d35f1e69 --- /dev/null +++ b/etc/portal/h15/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://h15; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://h15; +} diff --git a/etc/portal/h15/server.conf b/etc/portal/h15/server.conf new file mode 100644 index 00000000..2546181a --- /dev/null +++ b/etc/portal/h15/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name h15.shylinux.com; + include portal/h15/location.conf; +} +server { + listen 80; + server_name h15.shylinux.com; + include portal/h15/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/h15/upstream.conf b/etc/portal/h15/upstream.conf new file mode 100644 index 00000000..00310ecd --- /dev/null +++ b/etc/portal/h15/upstream.conf @@ -0,0 +1,3 @@ +upstream h15 { + server 127.0.0.1:20073; +} diff --git a/etc/portal/pod/location.conf b/etc/portal/pod/location.conf new file mode 100644 index 00000000..b4b94789 --- /dev/null +++ b/etc/portal/pod/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://pod; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://pod; +} diff --git a/etc/portal/pod/server.conf b/etc/portal/pod/server.conf new file mode 100644 index 00000000..50e4fdd8 --- /dev/null +++ b/etc/portal/pod/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name pod.shylinux.com; + include portal/pod/location.conf; +} +server { + listen 80; + server_name pod.shylinux.com; + include portal/pod/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/pod/upstream.conf b/etc/portal/pod/upstream.conf new file mode 100644 index 00000000..a7e196ab --- /dev/null +++ b/etc/portal/pod/upstream.conf @@ -0,0 +1,3 @@ +upstream pod { + server 127.0.0.1:9056; +} diff --git a/etc/portal/shylinux/location.conf b/etc/portal/shylinux/location.conf new file mode 100644 index 00000000..bf11a4ab --- /dev/null +++ b/etc/portal/shylinux/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://shylinux; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://shylinux; +} diff --git a/etc/portal/shylinux/server.conf b/etc/portal/shylinux/server.conf new file mode 100644 index 00000000..f70c7bf8 --- /dev/null +++ b/etc/portal/shylinux/server.conf @@ -0,0 +1,12 @@ +server { + listen 443 ssl; + server_name shylinux.com; + include portal/shylinux/location.conf; +} +server { + listen 80; + server_name shylinux.com; + location / { + return 307 https://$server_name$request_uri; + } +} diff --git a/etc/portal/shylinux/upstream.conf b/etc/portal/shylinux/upstream.conf new file mode 100644 index 00000000..a795bdc6 --- /dev/null +++ b/etc/portal/shylinux/upstream.conf @@ -0,0 +1,3 @@ +upstream shylinux { + server 127.0.0.1:9020; +} diff --git a/etc/portal/support/location.conf b/etc/portal/support/location.conf new file mode 100644 index 00000000..eb2df8cc --- /dev/null +++ b/etc/portal/support/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://support; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://support; +} diff --git a/etc/portal/support/server.conf b/etc/portal/support/server.conf new file mode 100644 index 00000000..00a38b93 --- /dev/null +++ b/etc/portal/support/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name support.shylinux.com; + include portal/support/location.conf; +} +server { + listen 80; + server_name support.shylinux.com; + include portal/support/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/support/upstream.conf b/etc/portal/support/upstream.conf new file mode 100644 index 00000000..7477c5e7 --- /dev/null +++ b/etc/portal/support/upstream.conf @@ -0,0 +1,3 @@ +upstream support { + server 127.0.0.1:9051; +} diff --git a/etc/portal/web/location.conf b/etc/portal/web/location.conf new file mode 100644 index 00000000..5d085c4c --- /dev/null +++ b/etc/portal/web/location.conf @@ -0,0 +1,9 @@ +location / { + include header/proxy.conf; + proxy_pass http://web; +} +location /space/ { + include header/proxy.conf; + include header/websocket.conf; + proxy_pass http://web; +} diff --git a/etc/portal/web/server.conf b/etc/portal/web/server.conf new file mode 100644 index 00000000..a69da66e --- /dev/null +++ b/etc/portal/web/server.conf @@ -0,0 +1,11 @@ +server { + listen 443 ssl; + server_name web.shylinux.com; + include portal/web/location.conf; +} +server { + listen 80; + server_name web.shylinux.com; + include portal/web/location.conf; + # include location/tohttps.conf; +} diff --git a/etc/portal/web/upstream.conf b/etc/portal/web/upstream.conf new file mode 100644 index 00000000..6ce0dd53 --- /dev/null +++ b/etc/portal/web/upstream.conf @@ -0,0 +1,3 @@ +upstream web { + server 127.0.0.1:9057; +}