1
0
forked from x/ContextOS
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-09-18 15:21:25 +08:00
parent cc353d8e17
commit 3b8f806e6d
6 changed files with 32 additions and 124 deletions

View File

@ -1,3 +0,0 @@
proxy_set_header X-HOST $scheme://$http_host/;
proxy_set_header X-Real-Port $remote_port;
proxy_set_header X-Real-IP $remote_addr;

View File

@ -1,19 +0,0 @@
location / {
include header.conf;
if ($http_user_agent ~* "^Mozilla") {
return 302 https://$server_name/$request_uri;
}
proxy_pass http://contexts;
}
location /space/ {
include header.conf;
proxy_pass http://contexts;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
}
location /x/ {
include header.conf;
proxy_pass http://contexts_repos;
}

View File

@ -1,29 +0,0 @@
ssl_session_timeout 30m;
ssl_session_cache shared:SSL:1m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
client_max_body_size 100m;
client_body_timeout 300s;
client_body_in_file_only clean;
client_body_buffer_size 16K;
client_body_temp_path /tmp/nginx/client_body_temp;
location / {
include header.conf;
proxy_pass http://contexts;
}
location /space/ {
include header.conf;
proxy_pass http://contexts;
proxy_set_header Connection "upgrade";
proxy_set_header Upgrade $http_upgrade;
}
location /x/ {
include header.conf;
proxy_pass http://contexts_repos;
}

View File

@ -1,50 +0,0 @@
worker_processes 1;
events { worker_connections 1024; }
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
proxy_buffering off;
keepalive_timeout 1800;
log_format access '[$time_local] $remote_addr "$request" "$http_referer" "$http_user_agent" $server_name $status $body_bytes_sent';
access_log logs/access.log access;
upstream contexts_repos {
server 127.0.0.1:9030;
server 127.0.0.1:9020 backup;
}
upstream contexts {
server 127.0.0.1:9020;
}
server {
listen 80;
server_name shylinux.com;
include location.conf;
}
server {
listen 443 ssl;
server_name shylinux.com;
include locations.conf;
ssl_certificate_key 8293704_shylinux.com.key;
ssl_certificate 8293704_shylinux.com.pem;
}
server {
listen 80;
server_name contexts.com.cn;
include location.conf;
}
server {
listen 443 ssl;
server_name contexts.com.cn;
include locations.conf;
ssl_certificate_key 7424713_contexts.com.cn.key;
ssl_certificate 7424713_contexts.com.cn.pem;
}
}

View File

@ -1,7 +0,0 @@
# desktop "http://localhost:9020/chat/cmd/web.chat.macos.desktop?debug=true"
vimer "http://localhost:9020/chat/cmd/web.code.vimer?debug=true"
# vimer "http://localhost:9020/chat/cmd/web.code.vimer"
# goods "http://localhost:9020/chat/cmd/web.mall.goods"
# plan "http://localhost:9020/chat/cmd/web.team.plan"
# localhost http://localhost:9020
# shylinux https://shylinux.com

View File

@ -7,6 +7,14 @@
"time": "2023-09-04 18:36:17.469"
}
},
"0ebd9a": {
"meta": {
"icon": "/require/usr/icons/Podcasts.png?pod=",
"index": "web.route",
"name": "Podcasts",
"time": "2023-09-18 08:53:33.901"
}
},
"16e2c7": {
"meta": {
"icon": "/require/usr/icons/Launchpad.png",
@ -15,6 +23,30 @@
"time": "2023-09-08 17:35:54.141"
}
},
"32b470": {
"meta": {
"icon": "/require/usr/icons/Infomation.png?pod=",
"index": "cli.runtime",
"name": "Infomation",
"time": "2023-09-18 09:05:25.126"
}
},
"4011a1": {
"meta": {
"icon": "/require/usr/icons/Automator.png?pod=",
"index": "web.chat.flows",
"name": "Automator",
"time": "2023-09-18 08:55:41.366"
}
},
"515d64": {
"meta": {
"icon": "/require/usr/icons/Infomation.png?pod=",
"index": "cli.runtime",
"name": "Infomation",
"time": "2023-09-18 09:05:25.126"
}
},
"57243a": {
"meta": {
"icon": "usr/icons/Photos.png",
@ -31,14 +63,6 @@
"time": "2023-09-10 19:47:46.447"
}
},
"808880": {
"meta": {
"icon": "/require/usr/icons/route.png",
"index": "web.route",
"name": "route",
"time": "2023-09-08 17:37:45.366"
}
},
"859fa0": {
"meta": {
"icon": "usr/icons/Calendar.png",
@ -64,14 +88,6 @@
"time": "2023-09-03 21:13:14.784"
}
},
"a2de0d": {
"meta": {
"icon": "/require/usr/icons/info.png",
"index": "runtime",
"name": "info",
"time": "2023-09-04 18:36:17.471"
}
},
"a63b56": {
"meta": {
"icon": "usr/icons/flows.png",