mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 08:48:06 +08:00
Compare commits
97 Commits
Author | SHA1 | Date | |
---|---|---|---|
2a5a64530e | |||
0bddd31b25 | |||
d347df63ea | |||
ac4cf99a20 | |||
3de53ca1d8 | |||
473a68c9ac | |||
88944e138e | |||
21669f0f0f | |||
81078a3b7a | |||
dce09aabf5 | |||
51d6cfd067 | |||
8e6c3d7275 | |||
7a1687604b | |||
c982d09daa | |||
![]() |
9f323ebfd6 | ||
eecb6fe6df | |||
b7c276a7b5 | |||
14032e7259 | |||
334c3c3371 | |||
311f283c5f | |||
18e2325b0d | |||
2dc75bec5c | |||
956b5affb2 | |||
d7071dbe26 | |||
6b966c400b | |||
7a77cc87f3 | |||
4f94e2287e | |||
d279dd7503 | |||
45eca37d12 | |||
409c53f26c | |||
3faeb85998 | |||
a7a3154c6e | |||
ea818b457c | |||
915330d435 | |||
e8f2b8b757 | |||
a5420e958a | |||
d87b9c889f | |||
094f23d1b8 | |||
192e73004d | |||
a73c715f0e | |||
![]() |
2e1d2a7256 | ||
b5be3ac686 | |||
![]() |
65a337e727 | ||
fc75893210 | |||
1785e85fbb | |||
715aab8ea8 | |||
![]() |
512812625a | ||
b34617c804 | |||
3e756e3630 | |||
![]() |
95b0bc0853 | ||
6b7b0ea0ab | |||
121cad9ef5 | |||
![]() |
ceee2e0268 | ||
ba55589135 | |||
![]() |
ce5e4afbd1 | ||
![]() |
ce5aa5f240 | ||
3c1c151d38 | |||
![]() |
51a013c0d5 | ||
58ef541862 | |||
![]() |
b04a6edf08 | ||
30bc62f325 | |||
721faf9fd5 | |||
48268f36a5 | |||
![]() |
195cb141da | ||
![]() |
fb82981102 | ||
2070343cad | |||
![]() |
5b3c8766d9 | ||
fe47f800a2 | |||
b60e54c4a3 | |||
104987e47b | |||
7471f9ae74 | |||
![]() |
4fe2000455 | ||
d6fe45bb1b | |||
![]() |
fed602aab2 | ||
a80a336ec7 | |||
![]() |
6d523cd878 | ||
![]() |
2889f21b2f | ||
f7bc108272 | |||
![]() |
bb8e9c1971 | ||
9db26bdf6b | |||
387f81f0b0 | |||
17dc6b49d5 | |||
112e506878 | |||
6659e7a88b | |||
c7ccf380e8 | |||
025988915a | |||
fc731726aa | |||
0443ba02c1 | |||
edcfe5afa3 | |||
dc4a6ba65b | |||
a1ab79bc1b | |||
2955192d1c | |||
8e6251d9d1 | |||
dd929ee81d | |||
64f2e03dc8 | |||
73a7bb032f | |||
a0b0699b58 |
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 shylinux
|
||||
Copyright (c) 2017-2025 shylinux
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
6
Makefile
6
Makefile
@ -1,12 +1,12 @@
|
||||
binarys = bin/ice.bin
|
||||
option = src/option.go
|
||||
version = src/version.go
|
||||
binpack = src/binpack.go
|
||||
flags = -ldflags "-w -s" -v
|
||||
|
||||
all: def
|
||||
@date +"%Y-%m-%d %H:%M:%S"
|
||||
go build ${flags} -o ${binarys} src/main.go ${version} ${binpack} && ./${binarys} forever restart &>/dev/null
|
||||
go build ${flags} -o ${binarys} src/main.go ${option} ${version} && ./${binarys} forever restart &>/dev/null
|
||||
|
||||
def:
|
||||
@[ -f ${option} ] || echo "package main">${option}
|
||||
@[ -f ${version} ] || echo "package main">${version}
|
||||
@[ -f ${binpack} ] || echo "package main">${binpack}
|
||||
|
18
README.md
18
README.md
@ -1,11 +1,11 @@
|
||||
# Contexts
|
||||
Contexts 通过模块化、集群化、自动化的方式,只用一个 20M 大小的程序文件,就可以在各种设备上,一键启动完整的云计算服务与云研发环境。
|
||||
# ContextOS
|
||||
ContextOS 通过集群化、模块化、自动化的方式,只用一个 20M 大小的程序文件,就可以在各种设备上,一键启动完整的云计算服务与云研发环境。
|
||||
|
||||
## 源码安装
|
||||
### 克隆编译
|
||||
## 安装系统
|
||||
### 下载编译
|
||||
```sh
|
||||
git clone https://shylinux.com/x/contexts
|
||||
cd contexts; source etc/miss.sh
|
||||
git clone https://shylinux.com/x/ContextOS
|
||||
cd ContextOS; source etc/miss.sh
|
||||
```
|
||||
|
||||
### 启动服务
|
||||
@ -13,7 +13,5 @@ cd contexts; source etc/miss.sh
|
||||
ish_miss_serve
|
||||
```
|
||||
|
||||
### 访问网页
|
||||
```sh
|
||||
open http://localhost:9020
|
||||
```
|
||||
### 管理后台
|
||||
打开管理后台 [http://localhost:9020](http://localhost:9020)
|
||||
|
28
etc/compose/2016.shy
Normal file
28
etc/compose/2016.shy
Normal file
@ -0,0 +1,28 @@
|
||||
2016-ContextOS 9020 username "shy" usernick "码神" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary ""
|
||||
2025-ContextOS 9050 repos "https://shylinux.com/x/ContextOS" binary ""
|
||||
20250208-ollama-story repos "https://shylinux.com/x/ollama-story" binary ""
|
||||
20250205-web repos "https://2025.shylinux.com/x/20250205-web" binary ""
|
||||
20250205-pod repos "https://2025.shylinux.com/x/20250205-pod" binary ""
|
||||
20250205-git repos "https://2025.shylinux.com/x/20250205-git" binary ""
|
||||
20250205-dev repos "https://2025.shylinux.com/x/20250205-dev" binary ""
|
||||
20250203-bbs repos "https://2025.shylinux.com/x/20250203-bbs" binary ""
|
||||
20250117-support repos "https://shylinux.com/x/support" binary ""
|
||||
20250117-foundation repos "https://shylinux.com/x/foundation" binary ""
|
||||
2024-ContextOS 9040 repos "https://shylinux.com/x/ContextOS" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary ""
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary ""
|
||||
20240724-education repos "https://shylinux.com/x/education" binary ""
|
||||
20240724-community repos "https://shylinux.com/x/community" binary ""
|
||||
20240713-guangdong repos "https://2024.shylinux.com/x/guangdong" binary ""
|
||||
20240705-shandong repos "https://2024.shylinux.com/x/shandong" binary ""
|
||||
2023-ContextOS 9030 repos "https://shylinux.com/x/ContextOS" binary ""
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary ""
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary ""
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary ""
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary ""
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary ""
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary ""
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary ""
|
9
etc/compose/2023.shy
Normal file
9
etc/compose/2023.shy
Normal file
@ -0,0 +1,9 @@
|
||||
2023-ContextOS 9030 username "shy" usernick "IT 老营长" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary ""
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary ""
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary ""
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary ""
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary ""
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary ""
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary ""
|
39
etc/compose/2024.shy
Normal file
39
etc/compose/2024.shy
Normal file
@ -0,0 +1,39 @@
|
||||
2024-ContextOS 9040 username "shy" usernick "IT 老营长" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary ""
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary ""
|
||||
20240724-education repos "https://shylinux.com/x/education" binary ""
|
||||
20240724-community repos "https://shylinux.com/x/community" binary ""
|
||||
20240713-guangdong repos "https://2024.shylinux.com/x/guangdong" binary ""
|
||||
20240705-shandong repos "https://2024.shylinux.com/x/shandong" binary ""
|
||||
2024-yunxuanlinghang 9046 repos "https://2024-guangdong.shylinux.com/x/yunxuanlinghang" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary "https://2024.shylinux.com/s/20240903-operation"
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary "https://2024.shylinux.com/s/20240724-enterprise"
|
||||
20240724-education repos "https://shylinux.com/x/education" binary "https://2024.shylinux.com/s/20240724-education"
|
||||
20240724-community repos "https://shylinux.com/x/community" binary "https://2024.shylinux.com/s/20240724-community"
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary "https://2023.shylinux.com/s/20230913-matrix-story"
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary "https://2023.shylinux.com/s/20230511-redis-story"
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary "https://2023.shylinux.com/s/20230511-nginx-story"
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary "https://2024.shylinux.com/s/20230511-mysql-story"
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary "https://2023.shylinux.com/s/20230511-linux-story"
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary "https://2023.shylinux.com/s/20230511-golang-story"
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary "https://2023.shylinux.com/s/20210308-sshd"
|
||||
2024-jingganjiaoyu 9045 repos "https://2024-shandong.shylinux.com/x/jingganjiaoyu" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary "https://2024.shylinux.com/s/20240903-operation"
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary "https://2024.shylinux.com/s/20240724-enterprise"
|
||||
20240724-education repos "https://shylinux.com/x/education" binary "https://2024.shylinux.com/s/20240724-education"
|
||||
20240724-community repos "https://shylinux.com/x/community" binary "https://2024.shylinux.com/s/20240724-community"
|
||||
20230913-matrix-story repos "https://shylinux.com/x/matrix-story" binary "https://2023.shylinux.com/s/20230913-matrix-story"
|
||||
20230511-redis-story repos "https://shylinux.com/x/redis-story" binary "https://2023.shylinux.com/s/20230511-redis-story"
|
||||
20230511-nginx-story repos "https://shylinux.com/x/nginx-story" binary "https://2023.shylinux.com/s/20230511-nginx-story"
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary "https://2024.shylinux.com/s/20230511-mysql-story"
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary "https://2023.shylinux.com/s/20230511-linux-story"
|
||||
20230511-golang-story repos "https://shylinux.com/x/golang-story" binary "https://2023.shylinux.com/s/20230511-golang-story"
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
20210308-sshd repos "https://shylinux.com/x/sshd" binary "https://2023.shylinux.com/s/20210308-sshd"
|
||||
2024-zelinqiche 9044 repos "https://2024-guangdong.shylinux.com/x/zelinqiche" binary ""
|
||||
20240718-hi repos "" binary ""
|
||||
2024-laoshaojiaju 9043 repos "https://2024-shandong.shylinux.com/x/laoshaojiaju" binary ""
|
||||
20240816-hi repos "" binary ""
|
||||
2024-guangdong 9042 repos "https://2024.shylinux.com/x/guangdong" binary ""
|
||||
2024-shandong 9041 repos "https://2024.shylinux.com/x/shandong" binary ""
|
31
etc/compose/2025.shy
Normal file
31
etc/compose/2025.shy
Normal file
@ -0,0 +1,31 @@
|
||||
2025-ContextOS 9050 username "shy" usernick "IT 老营长" language "zh-cn" avatar "usr/icons/avatar.jpg"
|
||||
20250208-ollama-story repos "https://shylinux.com/x/ollama-story" binary ""
|
||||
20250205-web repos "https://2025.shylinux.com/x/20250205-web" binary ""
|
||||
20250205-pod repos "https://2025.shylinux.com/x/20250205-pod" binary ""
|
||||
20250205-git repos "https://2025.shylinux.com/x/20250205-git" binary ""
|
||||
20250205-dev repos "https://2025.shylinux.com/x/20250205-dev" binary ""
|
||||
20250203-bbs repos "https://2025.shylinux.com/x/20250203-bbs" binary ""
|
||||
20250117-support repos "https://shylinux.com/x/support" binary ""
|
||||
20250117-foundation repos "https://shylinux.com/x/foundation" binary ""
|
||||
2025-web 9057 repos "https://2025.shylinux.com/x/20250205-web" binary ""
|
||||
20250213-founder repos "https://shylinux.com/x/founder" binary ""
|
||||
20250213-compose repos "https://shylinux.com/x/compose" binary ""
|
||||
20250211-service repos "https://2025-dev.shylinux.com/x/20250211-service" binary ""
|
||||
20240903-operation repos "https://shylinux.com/x/operation" binary "https://2024.shylinux.com/s/20240903-operation"
|
||||
20240724-enterprise repos "https://shylinux.com/x/enterprise" binary "https://2024.shylinux.com/s/20240724-enterprise"
|
||||
20240724-education repos "https://shylinux.com/x/education" binary "https://2024.shylinux.com/s/20240724-education"
|
||||
20240724-community repos "https://shylinux.com/x/community" binary "https://2024.shylinux.com/s/20240724-community"
|
||||
20230511-mysql-story repos "https://shylinux.com/x/mysql-story" binary "https://2023.shylinux.com/s/20230511-mysql-story"
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
2025-pod 9056 repos "https://2025.shylinux.com/x/20250205-pod" binary ""
|
||||
20250205-hi repos "" binary ""
|
||||
2025-git 9055 repos "https://2025.shylinux.com/x/20250205-git" binary ""
|
||||
20250205-hi repos "" binary ""
|
||||
2025-dev 9054 repos "https://2025.shylinux.com/x/20250205-dev" binary ""
|
||||
20250213-machine repos "https://2025-dev.shylinux.com/x/20250213-machine" binary ""
|
||||
20250211-service repos "https://2025-dev.shylinux.com/x/20250211-service" binary ""
|
||||
20230511-docker-story repos "https://shylinux.com/x/docker-story" binary "https://2023.shylinux.com/s/20230511-docker-story"
|
||||
2025-bbs 9053 repos "https://2025.shylinux.com/x/20250203-bbs" binary ""
|
||||
20230511-linux-story repos "https://shylinux.com/x/linux-story" binary "https://2023.shylinux.com/s/20230511-linux-story"
|
||||
2025-foundation 9052 repos "https://shylinux.com/x/foundation" binary ""
|
||||
2025-support 9051 repos "https://shylinux.com/x/support" binary ""
|
@ -1,6 +1,2 @@
|
||||
~cli
|
||||
mirrors repos
|
||||
~web
|
||||
spide create origin "https://2023-contexts.shylinux.com" type repos
|
||||
~ssh
|
||||
source local.shy
|
||||
|
5
etc/local/2016.sh
Normal file
5
etc/local/2016.sh
Normal file
@ -0,0 +1,5 @@
|
||||
# /etc/rc.local
|
||||
# source /home/shy/2016-ContextOS/etc/local/2016.sh
|
||||
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000 && ./sbin/nginx -p $PWD
|
||||
cd /var/lib/maddy; /usr/local/bin/maddy run &> /var/lib/maddy/boot.log &
|
6
etc/local/2022.sh
Normal file
6
etc/local/2022.sh
Normal file
@ -0,0 +1,6 @@
|
||||
# /etc/rc.local
|
||||
# source /home/shy/2022-ContextOS/etc/local/2022.sh
|
||||
source /home/shy/2022-ContextOS/etc/local.sh
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000 && $PWD/sbin/nginx -p $PWD
|
||||
# su - mysql -c 'cd /opt/daemon/10001/ && $PWD/bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
||||
su - mysql -c 'cd /opt/10001/ && $PWD/bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
7
etc/local/2023.sh
Normal file
7
etc/local/2023.sh
Normal file
@ -0,0 +1,7 @@
|
||||
# /etc/rc.local
|
||||
# source /home/shy/2023-ContextOS/etc/local/2023.sh
|
||||
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000 && ./sbin/nginx -p $PWD
|
||||
su - git -c 'GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini &'
|
||||
su - mysql -c 'cd /opt/10001/ && ./bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
||||
# su - mysql -c 'cd /opt/daemon/10001/ && ./bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
9
etc/local/2025.sh
Normal file
9
etc/local/2025.sh
Normal file
@ -0,0 +1,9 @@
|
||||
# /etc/rc.local
|
||||
# source /root/2025-ContextOS/etc/local/2025.sh
|
||||
for p in `ls /root/*/etc/local.sh`; do source $p; done
|
||||
[ -d /tmp/nginx ] || mkdir /tmp/nginx; cd /opt/daemon/10000/ && $PWD/sbin/nginx -p $PWD &
|
||||
su - git -c 'cd /opt/daemon/10010/ && GITEA_WORK_DIR=$PWD/var/lib/gitea/ $PWD/usr/local/bin/gitea web -c $PWD/etc/gitea/app.ini &'
|
||||
su - mysql -c 'cd /opt/daemon/10001/ && $PWD/bin/mysqld --basedir=./ --datadir=./data --plugin-dir=./lib/plugin --socket=mysqld.socket --log-error=mysqld.log --pid-file=mysqld.pid --port 10001 &'
|
||||
cd /opt/daemon/10002/ && $PWD/bin/dockerd --host unix://$PWD/docker.sock --pidfile $PWD/docker.pid --exec-root=$PWD/exec --data-root=$PWD/data --registry-mirror "https://ccr.ccs.tencentyun.com" --userland-proxy=false &
|
||||
export DOCKER_HOST=unix://$PWD/docker.sock
|
||||
# export DOCKER_HOST=unix:///opt/daemon/10002/docker.sock
|
@ -12,8 +12,4 @@ ish_miss_prepare_project
|
||||
ish_miss_prepare_contexts
|
||||
ish_miss_prepare_resource
|
||||
|
||||
ish_miss_prepare_release
|
||||
ish_miss_prepare_icebergs
|
||||
ish_miss_prepare_toolkits
|
||||
|
||||
ish_miss_make; [ -z "$*" ] || ish_miss_serve "$@"
|
||||
|
9
etc/portal/2016/location.conf
Normal file
9
etc/portal/2016/location.conf
Normal file
@ -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;
|
||||
}
|
10
etc/portal/2016/server.conf
Normal file
10
etc/portal/2016/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2016.shylinux.com;
|
||||
include portal/2016/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2016.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2016/upstream.conf
Normal file
3
etc/portal/2016/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2016 {
|
||||
server 127.0.0.1:9020;
|
||||
}
|
9
etc/portal/2021/location.conf
Normal file
9
etc/portal/2021/location.conf
Normal file
@ -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;
|
||||
}
|
10
etc/portal/2021/server.conf
Normal file
10
etc/portal/2021/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2021.shylinux.com;
|
||||
include portal/2021/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2021.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2021/upstream.conf
Normal file
3
etc/portal/2021/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2021 {
|
||||
server 127.0.0.1:9021;
|
||||
}
|
9
etc/portal/2022-ContextOS/location.conf
Normal file
9
etc/portal/2022-ContextOS/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2022-ContextOS;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2022-ContextOS;
|
||||
}
|
10
etc/portal/2022-ContextOS/server.conf
Normal file
10
etc/portal/2022-ContextOS/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2022-ContextOS.shylinux.com;
|
||||
include portal/2022-ContextOS/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2022-ContextOS.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2022-ContextOS/upstream.conf
Normal file
3
etc/portal/2022-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2022-ContextOS {
|
||||
server 127.0.0.1:9022;
|
||||
}
|
9
etc/portal/2022/location.conf
Normal file
9
etc/portal/2022/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2022;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2022;
|
||||
}
|
10
etc/portal/2022/server.conf
Normal file
10
etc/portal/2022/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2022.shylinux.com;
|
||||
include portal/2022/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2022.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2022/upstream.conf
Normal file
3
etc/portal/2022/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2022 {
|
||||
server 127.0.0.1:9022;
|
||||
}
|
9
etc/portal/2023-ContextOS/location.conf
Normal file
9
etc/portal/2023-ContextOS/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2023-ContextOS/server.conf
Normal file
11
etc/portal/2023-ContextOS/server.conf
Normal file
@ -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 location/tohttps.conf;
|
||||
# include portal/2023-ContextOS/location.conf;
|
||||
}
|
3
etc/portal/2023-ContextOS/upstream.conf
Normal file
3
etc/portal/2023-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2023-ContextOS {
|
||||
server 127.0.0.1:9030;
|
||||
}
|
9
etc/portal/2023/location.conf
Normal file
9
etc/portal/2023/location.conf
Normal file
@ -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;
|
||||
}
|
10
etc/portal/2023/server.conf
Normal file
10
etc/portal/2023/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2023.shylinux.com;
|
||||
include portal/2023/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2023.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2023/upstream.conf
Normal file
3
etc/portal/2023/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2023 {
|
||||
server 127.0.0.1:9030;
|
||||
}
|
9
etc/portal/2024-ContextOS/location.conf
Normal file
9
etc/portal/2024-ContextOS/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2024-ContextOS/server.conf
Normal file
11
etc/portal/2024-ContextOS/server.conf
Normal file
@ -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 location/tohttps.conf;
|
||||
# include portal/2024-ContextOS/location.conf;
|
||||
}
|
3
etc/portal/2024-ContextOS/upstream.conf
Normal file
3
etc/portal/2024-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-ContextOS {
|
||||
server 127.0.0.1:9040;
|
||||
}
|
9
etc/portal/2024-guangdong/location.conf
Normal file
9
etc/portal/2024-guangdong/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2024-guangdong/server.conf
Normal file
11
etc/portal/2024-guangdong/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2024-guangdong/upstream.conf
Normal file
3
etc/portal/2024-guangdong/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-guangdong {
|
||||
server 127.0.0.1:9042;
|
||||
}
|
9
etc/portal/2024-jingganjiaoyu/location.conf
Normal file
9
etc/portal/2024-jingganjiaoyu/location.conf
Normal file
@ -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;
|
||||
}
|
10
etc/portal/2024-jingganjiaoyu/server.conf
Normal file
10
etc/portal/2024-jingganjiaoyu/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
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 location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-jingganjiaoyu/upstream.conf
Normal file
3
etc/portal/2024-jingganjiaoyu/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-jingganjiaoyu {
|
||||
server jingganjiaoyu.com;
|
||||
}
|
9
etc/portal/2024-laoshaojiaju/location.conf
Normal file
9
etc/portal/2024-laoshaojiaju/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2024-laoshaojiaju/server.conf
Normal file
11
etc/portal/2024-laoshaojiaju/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2024-laoshaojiaju/upstream.conf
Normal file
3
etc/portal/2024-laoshaojiaju/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-laoshaojiaju {
|
||||
server 127.0.0.1:9043;
|
||||
}
|
9
etc/portal/2024-shandong/location.conf
Normal file
9
etc/portal/2024-shandong/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2024-shandong/server.conf
Normal file
11
etc/portal/2024-shandong/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2024-shandong/upstream.conf
Normal file
3
etc/portal/2024-shandong/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-shandong {
|
||||
server 127.0.0.1:9041;
|
||||
}
|
9
etc/portal/2024-yunxuanlinghang/location.conf
Normal file
9
etc/portal/2024-yunxuanlinghang/location.conf
Normal file
@ -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;
|
||||
}
|
10
etc/portal/2024-yunxuanlinghang/server.conf
Normal file
10
etc/portal/2024-yunxuanlinghang/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
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 location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024-yunxuanlinghang/upstream.conf
Normal file
3
etc/portal/2024-yunxuanlinghang/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-yunxuanlinghang {
|
||||
server yunxuanlinghang.com;
|
||||
}
|
9
etc/portal/2024-zelinqiche/location.conf
Normal file
9
etc/portal/2024-zelinqiche/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2024-zelinqiche/server.conf
Normal file
11
etc/portal/2024-zelinqiche/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2024-zelinqiche/upstream.conf
Normal file
3
etc/portal/2024-zelinqiche/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024-zelinqiche {
|
||||
server 127.0.0.1:9044;
|
||||
}
|
9
etc/portal/2024/location.conf
Normal file
9
etc/portal/2024/location.conf
Normal file
@ -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;
|
||||
}
|
10
etc/portal/2024/server.conf
Normal file
10
etc/portal/2024/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2024.shylinux.com;
|
||||
include portal/2024/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2024.shylinux.com;
|
||||
include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2024/upstream.conf
Normal file
3
etc/portal/2024/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2024 {
|
||||
server 127.0.0.1:9040;
|
||||
}
|
9
etc/portal/2025-ContextOS/location.conf
Normal file
9
etc/portal/2025-ContextOS/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-ContextOS/server.conf
Normal file
11
etc/portal/2025-ContextOS/server.conf
Normal file
@ -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 location/tohttps.conf;
|
||||
# include portal/2025-ContextOS/location.conf;
|
||||
}
|
3
etc/portal/2025-ContextOS/upstream.conf
Normal file
3
etc/portal/2025-ContextOS/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-ContextOS {
|
||||
server 127.0.0.1:9050;
|
||||
}
|
9
etc/portal/2025-bbs/location.conf
Normal file
9
etc/portal/2025-bbs/location.conf
Normal file
@ -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;
|
||||
}
|
10
etc/portal/2025-bbs/server.conf
Normal file
10
etc/portal/2025-bbs/server.conf
Normal file
@ -0,0 +1,10 @@
|
||||
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 location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-bbs/upstream.conf
Normal file
3
etc/portal/2025-bbs/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-bbs {
|
||||
server 127.0.0.1:9053;
|
||||
}
|
9
etc/portal/2025-beijing-1/location.conf
Normal file
9
etc/portal/2025-beijing-1/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-beijing-1/server.conf
Normal file
11
etc/portal/2025-beijing-1/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
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 portal/2025-beijing-1/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-beijing-1/upstream.conf
Normal file
3
etc/portal/2025-beijing-1/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-beijing-1 {
|
||||
server 127.0.0.1:30006;
|
||||
}
|
9
etc/portal/2025-beijing-2/location.conf
Normal file
9
etc/portal/2025-beijing-2/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-beijing-2/server.conf
Normal file
11
etc/portal/2025-beijing-2/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
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 portal/2025-beijing-2/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-beijing-2/upstream.conf
Normal file
3
etc/portal/2025-beijing-2/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-beijing-2 {
|
||||
server 127.0.0.1:30007;
|
||||
}
|
9
etc/portal/2025-beijing-3/location.conf
Normal file
9
etc/portal/2025-beijing-3/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-beijing-3/server.conf
Normal file
11
etc/portal/2025-beijing-3/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
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 portal/2025-beijing-3/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-beijing-3/upstream.conf
Normal file
3
etc/portal/2025-beijing-3/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-beijing-3 {
|
||||
server 127.0.0.1:30008;
|
||||
}
|
9
etc/portal/2025-cluster/location.conf
Normal file
9
etc/portal/2025-cluster/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-cluster;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-cluster;
|
||||
}
|
11
etc/portal/2025-cluster/server.conf
Normal file
11
etc/portal/2025-cluster/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-cluster.shylinux.com;
|
||||
include portal/2025-cluster/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-cluster.shylinux.com;
|
||||
include portal/2025-cluster/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-cluster/upstream.conf
Normal file
3
etc/portal/2025-cluster/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-cluster {
|
||||
server 127.0.0.1:40000;
|
||||
}
|
9
etc/portal/2025-dev/location.conf
Normal file
9
etc/portal/2025-dev/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-dev/server.conf
Normal file
11
etc/portal/2025-dev/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2025-dev/upstream.conf
Normal file
3
etc/portal/2025-dev/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-dev {
|
||||
server 127.0.0.1:9054;
|
||||
}
|
9
etc/portal/2025-foundation/location.conf
Normal file
9
etc/portal/2025-foundation/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-foundation/server.conf
Normal file
11
etc/portal/2025-foundation/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2025-foundation/upstream.conf
Normal file
3
etc/portal/2025-foundation/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-foundation {
|
||||
server 127.0.0.1:9052;
|
||||
}
|
9
etc/portal/2025-git/location.conf
Normal file
9
etc/portal/2025-git/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-git/server.conf
Normal file
11
etc/portal/2025-git/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2025-git/upstream.conf
Normal file
3
etc/portal/2025-git/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-git {
|
||||
server 127.0.0.1:9055;
|
||||
}
|
9
etc/portal/2025-guangzhou-1/location.conf
Normal file
9
etc/portal/2025-guangzhou-1/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-guangzhou-1/server.conf
Normal file
11
etc/portal/2025-guangzhou-1/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
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 portal/2025-guangzhou-1/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-guangzhou-1/upstream.conf
Normal file
3
etc/portal/2025-guangzhou-1/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-guangzhou-1 {
|
||||
server 127.0.0.1:30000;
|
||||
}
|
9
etc/portal/2025-guangzhou-2/location.conf
Normal file
9
etc/portal/2025-guangzhou-2/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-guangzhou-2/server.conf
Normal file
11
etc/portal/2025-guangzhou-2/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
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 portal/2025-guangzhou-2/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-guangzhou-2/upstream.conf
Normal file
3
etc/portal/2025-guangzhou-2/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-guangzhou-2 {
|
||||
server 127.0.0.1:30001;
|
||||
}
|
9
etc/portal/2025-guangzhou-3/location.conf
Normal file
9
etc/portal/2025-guangzhou-3/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-guangzhou-3/server.conf
Normal file
11
etc/portal/2025-guangzhou-3/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
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 portal/2025-guangzhou-3/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-guangzhou-3/upstream.conf
Normal file
3
etc/portal/2025-guangzhou-3/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-guangzhou-3 {
|
||||
server 127.0.0.1:30002;
|
||||
}
|
9
etc/portal/2025-machine/location.conf
Normal file
9
etc/portal/2025-machine/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-machine;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-machine;
|
||||
}
|
11
etc/portal/2025-machine/server.conf
Normal file
11
etc/portal/2025-machine/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-machine.shylinux.com;
|
||||
include portal/2025-machine/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-machine.shylinux.com;
|
||||
include portal/2025-machine/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-machine/upstream.conf
Normal file
3
etc/portal/2025-machine/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-machine {
|
||||
server 127.0.0.1:40001;
|
||||
}
|
9
etc/portal/2025-machine2/location.conf
Normal file
9
etc/portal/2025-machine2/location.conf
Normal file
@ -0,0 +1,9 @@
|
||||
location / {
|
||||
include header/proxy.conf;
|
||||
proxy_pass http://2025-machine2;
|
||||
}
|
||||
location /space/ {
|
||||
include header/proxy.conf;
|
||||
include header/websocket.conf;
|
||||
proxy_pass http://2025-machine2;
|
||||
}
|
11
etc/portal/2025-machine2/server.conf
Normal file
11
etc/portal/2025-machine2/server.conf
Normal file
@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name 2025-machine2.shylinux.com;
|
||||
include portal/2025-machine2/location.conf;
|
||||
}
|
||||
server {
|
||||
listen 80;
|
||||
server_name 2025-machine2.shylinux.com;
|
||||
include portal/2025-machine2/location.conf;
|
||||
# include location/tohttps.conf;
|
||||
}
|
3
etc/portal/2025-machine2/upstream.conf
Normal file
3
etc/portal/2025-machine2/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-machine2 {
|
||||
server 127.0.0.1:40002;
|
||||
}
|
9
etc/portal/2025-pod/location.conf
Normal file
9
etc/portal/2025-pod/location.conf
Normal file
@ -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;
|
||||
}
|
11
etc/portal/2025-pod/server.conf
Normal file
11
etc/portal/2025-pod/server.conf
Normal file
@ -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;
|
||||
}
|
3
etc/portal/2025-pod/upstream.conf
Normal file
3
etc/portal/2025-pod/upstream.conf
Normal file
@ -0,0 +1,3 @@
|
||||
upstream 2025-pod {
|
||||
server 127.0.0.1:9056;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user