This commit is contained in:
熊潇 2025-08-01 02:16:29 +08:00
commit 02f50bf2eb
12 changed files with 904 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
caddy.exe
node_modules
log

1
README.md Normal file
View File

@ -0,0 +1 @@
# caddy use way

21
caddyfile Normal file
View File

@ -0,0 +1,21 @@
{
auto_https disable_redirects
#tls ./https-cert.pem ./https-private-key.pem
http_port 999
https_port 666
log {
output file ./log/access.log
}
}
# *:666 {
# tls ./https-cert.pem ./https-private-key.pem
# # 其他全局配置
# }
*:666 {
tls "e:\docker\caddy\caddy_2.10.0_windows_amd64\https-cert.pem" "e:\docker\caddy\caddy_2.10.0_windows_amd64\https-private-key.pem"
# 其他全局配置
}
import ./me/*.conf
import ./kevisual/*.conf

179
client/app.conf Normal file
View File

@ -0,0 +1,179 @@
https://open.kevisual.app:666 {
reverse_proxy 192.168.31.220:3000
tls internal
}
https://alist.kevisual.app:666 {
reverse_proxy 192.168.31.220:5244
tls internal
}
https://cloud.kevisual.app:666 {
reverse_proxy 192.168.31.220:5212
tls internal
}
https://file.kevisual.app:666 {
reverse_proxy 192.168.31.220:8083
tls internal
}
https://webdav.kevisual.app:666 {
reverse_proxy 192.168.31.220:6060
tls internal
}
https://minio.kevisual.app:666 {
reverse_proxy 192.168.31.220:9000
tls internal
}
https://memos.kevisual.app:666 {
reverse_proxy 192.168.31.220:8181
tls internal
}
https://prompt-opt.kevisual.app:666 {
reverse_proxy 192.168.31.220:5213
tls internal
}
https://cosyvoice.kevisual.app:666 {
reverse_proxy 192.168.31.220:50000
tls internal
}
https://dayan.kevisual.app:666 {
reverse_proxy 192.168.31.25:9978
tls internal
}
https://drawio.kevisual.app:666 {
reverse_proxy 192.168.31.220:13000
tls internal
}
https://draw.kevisual.app:666 {
reverse_proxy 192.168.31.220:13001
tls internal
}
https://note.kevisual.app:666 {
reverse_proxy 192.168.31.220:8888
tls internal
}
https://ollama.kevisual.app:666 {
reverse_proxy 192.168.31.220:11434
tls internal
}
https://search.kevisual.app:666 {
reverse_proxy 192.168.31.220:9000
tls internal
}
https://sunshine.kevisual.app:666 {
reverse_proxy 192.168.31.220:47990
tls internal
}
https://tv.kevisual.app:666 {
reverse_proxy 192.168.31.37:9978
tls internal
}
https://xiaoya.kevisual.app:666 {
reverse_proxy 192.168.31.220:5678
tls internal
}
https://dify.kevisual.app:666 {
reverse_proxy 192.168.31.220:86
tls internal
}
https://langflow.kevisual.app:666 {
reverse_proxy 192.168.31.220:7860
tls internal
}
https://n8n.kevisual.app:666 {
reverse_proxy 192.168.31.220:6679
tls internal
}
https://autogenstudio.kevisual.app:666 {
reverse_proxy 192.168.31.220:6680
tls internal
}
https://esm.kevisual.app:666 {
reverse_proxy 192.168.31.220:12000
tls internal
}
https://anki.kevisual.app:666 {
reverse_proxy 192.168.31.220:27701
tls internal
}
https://home.kevisual.app:666 {
reverse_proxy 192.168.31.220:8123
tls internal
}
https://verdaccio.kevisual.app:666 {
reverse_proxy 192.168.31.220:4873
tls internal
}
https://umami.kevisual.app:666 {
reverse_proxy 192.168.31.220:4004
tls internal
}
https://pwd.kevisual.app:666 {
reverse_proxy 192.168.31.220:8180
tls internal
}
https://neo4j.kevisual.app:666 {
reverse_proxy 192.168.31.220:7474
tls internal
}
https://gitea.kevisual.app:666 {
reverse_proxy 192.168.31.220:3001
tls internal
}
https://portainer.kevisual.app:666 {
reverse_proxy 192.168.31.220:9003
tls internal
}
https://funasr.kevisual.app:666 {
reverse_proxy 192.168.31.220:10095
tls internal
}
https://mielisearch.kevisual.app:666 {
reverse_proxy 192.168.31.220:7700
tls internal
}
https://pocketbase.kevisual.app:666 {
reverse_proxy 192.168.31.220:8090
tls internal
}
https://nocodb.kevisual.app:666 {
reverse_proxy 192.168.31.220:8091
tls internal
}
https://teable.kevisual.app:666 {
reverse_proxy 192.168.31.220:8095
tls internal
}

16
https-cert.pem Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN CERTIFICATE-----
MIICeTCCAeKgAwIBAgIJchQYZGeXcW5vMA0GCSqGSIb3DQEBBQUAMFkxCzAJBgNV
BAYTAkNOMREwDwYDVQQIEwhaaGVKaWFuZzERMA8GA1UEBxMISGFuZ1pob3UxETAP
BgNVBAoTCGtldmlzdWFsMREwDwYDVQQLEwhrZXZpc3VhbDAgFw0yNTA3MzExNTMx
NDBaGA8yMTI0MDcwNzE1MzE0MFowWTELMAkGA1UEBhMCQ04xETAPBgNVBAgTCFpo
ZUppYW5nMREwDwYDVQQHEwhIYW5nWmhvdTERMA8GA1UEChMIa2V2aXN1YWwxETAP
BgNVBAsTCGtldmlzdWFsMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDe81KO
LaFyql2d0dQaQu+gAyEELNrmlUEKYwEJrLhJk5giZwhM911D29qKMgcsMF9sl4QS
kGgsmNAV/4ZH6fcFlTZ/gEILNPXSDEoVey8mh2e55HVaEXX/NJdNkoVhYA/gkkRl
ywZX03x/N1sF3/hz4EJM/e3afk5M6Nk/vkTvqwIDAQABo0cwRTBDBgNVHREEPDA6
gglsb2NhbGhvc3SCBVs6OjFdhxD+gAAAAAAAAAAAAAAAAAABhwR/AAABgg4qLmtl
dmlzdWFsLmFwcDANBgkqhkiG9w0BAQUFAAOBgQBruSHgFJ1Il6VmAKij8jFDriF/
pBSklYvOzqyu8uwXpkOMoEgIgFktbUWEI9TihOacbeP8J2ryoxqVG58iUKrUAdDK
vMjJ7cAvf/draiAVcvAjTgopgmJ/w7nDLzO7DtS0xq5EmdCgMTZasphqG7jz3/1M
yI+/dlj5j3YeandOqg==
-----END CERTIFICATE-----

15
https-private-key.pem Normal file
View File

@ -0,0 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQDe81KOLaFyql2d0dQaQu+gAyEELNrmlUEKYwEJrLhJk5giZwhM
911D29qKMgcsMF9sl4QSkGgsmNAV/4ZH6fcFlTZ/gEILNPXSDEoVey8mh2e55HVa
EXX/NJdNkoVhYA/gkkRlywZX03x/N1sF3/hz4EJM/e3afk5M6Nk/vkTvqwIDAQAB
AoGAIiLqcIePEUIBnID8s1qtWvgvrXZ6u9R9hWwcRBF0lBtrr1TMQhCb8KBwiTlY
vMzZR4S5fagrsyxgrAWYV1l87049G5EJetssWq+j+iQvOj7HDMSlqruXsy+sEZK+
Y/pVm/0w/lMOHBKOMN1fxb0kWWu1NxTBvXwWxUf5Ci+JzeUCQQDvSK9bHYlLKVfC
PNBPiTj+Z2V1Z1CSedUecQGQ9aZ8ARPylEHQ9rHEA4sRdhT2j/yjoovYrE+IjQzE
SfGcAaSdAkEA7oaIY5G6HL2lZFM0QH6qrk4W1IFAlSGSE54OgGHnpVjdd36OvkNB
k8id7bnmQz8Lo3jd6TfXk6rkgqPJi8se5wJAKsBEvDW5utkHGef9m8g7i5Bzmxc7
WQA1aHvuOLT66rrSkouUer4ooomzhgof0rGFBMNc0vhuOUpiFovTg/jzLQJAEihh
p5rHXTq+pXWEC8jYu24sZL72KKQml6G3nuRVGww5x8f1m9xI2LQz+Y3mToY1H5uq
4P8kRRSEUsGfLSooTwJBAKGwTVHAPmVsqUxiAX+MYK9RW8y8GOjV2kplZWWIMaU6
Wz5g+GTp9YT8o2rL0nZa7uWh1U3cRLUFdxPaPfWt2y0=
-----END RSA PRIVATE KEY-----

179
kevisual/app.conf Normal file
View File

@ -0,0 +1,179 @@
https://open.kevisual.app:666 {
reverse_proxy localhost:3000
tls internal
}
https://alist.kevisual.app:666 {
reverse_proxy localhost:5244
tls internal
}
https://cloud.kevisual.app:666 {
reverse_proxy localhost:5212
tls internal
}
https://file.kevisual.app:666 {
reverse_proxy localhost:8083
tls internal
}
https://webdav.kevisual.app:666 {
reverse_proxy localhost:6060
tls internal
}
https://minio.kevisual.app:666 {
reverse_proxy localhost:9000
tls internal
}
https://memos.kevisual.app:666 {
reverse_proxy localhost:8181
tls internal
}
https://prompt-opt.kevisual.app:666 {
reverse_proxy localhost:5213
tls internal
}
https://cosyvoice.kevisual.app:666 {
reverse_proxy localhost:50000
tls internal
}
https://dayan.kevisual.app:666 {
reverse_proxy 192.168.31.25:9978
tls internal
}
https://drawio.kevisual.app:666 {
reverse_proxy localhost:13000
tls internal
}
https://draw.kevisual.app:666 {
reverse_proxy localhost:13001
tls internal
}
https://note.kevisual.app:666 {
reverse_proxy localhost:8888
tls internal
}
https://ollama.kevisual.app:666 {
reverse_proxy localhost:11434
tls internal
}
https://search.kevisual.app:666 {
reverse_proxy localhost:9000
tls internal
}
https://sunshine.kevisual.app:666 {
reverse_proxy localhost:47990
tls internal
}
https://tv.kevisual.app:666 {
reverse_proxy 192.168.31.37:9978
tls internal
}
https://xiaoya.kevisual.app:666 {
reverse_proxy localhost:5678
tls internal
}
https://dify.kevisual.app:666 {
reverse_proxy localhost:86
tls internal
}
https://langflow.kevisual.app:666 {
reverse_proxy localhost:7860
tls internal
}
https://n8n.kevisual.app:666 {
reverse_proxy localhost:6679
tls internal
}
https://autogenstudio.kevisual.app:666 {
reverse_proxy localhost:6680
tls internal
}
https://esm.kevisual.app:666 {
reverse_proxy localhost:12000
tls internal
}
https://anki.kevisual.app:666 {
reverse_proxy localhost:27701
tls internal
}
https://home.kevisual.app:666 {
reverse_proxy localhost:8123
tls internal
}
https://verdaccio.kevisual.app:666 {
reverse_proxy localhost:4873
tls internal
}
https://umami.kevisual.app:666 {
reverse_proxy localhost:4004
tls internal
}
https://pwd.kevisual.app:666 {
reverse_proxy localhost:8180
tls internal
}
https://neo4j.kevisual.app:666 {
reverse_proxy localhost:7474
tls internal
}
https://gitea.kevisual.app:666 {
reverse_proxy localhost:3001
tls internal
}
https://portainer.kevisual.app:666 {
reverse_proxy localhost:9003
tls internal
}
https://funasr.kevisual.app:666 {
reverse_proxy localhost:10095
tls internal
}
https://mielisearch.kevisual.app:666 {
reverse_proxy localhost:7700
tls internal
}
https://pocketbase.kevisual.app:666 {
reverse_proxy localhost:8090
tls internal
}
https://nocodb.kevisual.app:666 {
reverse_proxy localhost:8091
tls internal
}
https://teable.kevisual.app:666 {
reverse_proxy localhost:8095
tls internal
}

4
kevisual/main.conf Normal file
View File

@ -0,0 +1,4 @@
https://main.kevisual.app:666 {
reverse_proxy localhost:51015
tls internal
}

179
me/open-tls.conf Normal file
View File

@ -0,0 +1,179 @@
https://open.xx.zxj.im:666 {
reverse_proxy localhost:3000
tls internal
}
https://alist.xx.zxj.im:666 {
reverse_proxy localhost:5244
tls internal
}
https://cloud.xx.zxj.im:666 {
reverse_proxy localhost:5212
tls internal
}
https://file.xx.zxj.im:666 {
reverse_proxy localhost:8083
tls internal
}
https://webdav.xx.zxj.im:666 {
reverse_proxy localhost:6060
tls internal
}
https://minio.xx.zxj.im:666 {
reverse_proxy localhost:9000
tls internal
}
https://memos.xx.zxj.im:666 {
reverse_proxy localhost:8181
tls internal
}
https://prompt-opt.xx.zxj.im:666 {
reverse_proxy localhost:5213
tls internal
}
https://cosyvoice.xx.zxj.im:666 {
reverse_proxy localhost:50000
tls internal
}
https://dayan.xx.zxj.im:666 {
reverse_proxy 192.168.31.25:9978
tls internal
}
https://drawio.xx.zxj.im:666 {
reverse_proxy localhost:13000
tls internal
}
https://draw.xx.zxj.im:666 {
reverse_proxy localhost:13001
tls internal
}
https://note.xx.zxj.im:666 {
reverse_proxy localhost:8888
tls internal
}
https://ollama.xx.zxj.im:666 {
reverse_proxy localhost:11434
tls internal
}
https://search.xx.zxj.im:666 {
reverse_proxy localhost:9000
tls internal
}
https://sunshine.xx.zxj.im:666 {
reverse_proxy localhost:47990
tls internal
}
https://tv.xx.zxj.im:666 {
reverse_proxy 192.168.31.37:9978
tls internal
}
https://xiaoya.xx.zxj.im:666 {
reverse_proxy localhost:5678
tls internal
}
https://dify.xx.zxj.im:666 {
reverse_proxy localhost:86
tls internal
}
https://langflow.xx.zxj.im:666 {
reverse_proxy localhost:7860
tls internal
}
https://n8n.xx.zxj.im:666 {
reverse_proxy localhost:6679
tls internal
}
https://autogenstudio.xx.zxj.im:666 {
reverse_proxy localhost:6680
tls internal
}
https://esm.xx.zxj.im:666 {
reverse_proxy localhost:12000
tls internal
}
https://anki.xx.zxj.im:666 {
reverse_proxy localhost:27701
tls internal
}
https://home.xx.zxj.im:666 {
reverse_proxy localhost:8123
tls internal
}
https://verdaccio.xx.zxj.im:666 {
reverse_proxy localhost:4873
tls internal
}
https://umami.xx.zxj.im:666 {
reverse_proxy localhost:4004
tls internal
}
https://pwd.xx.zxj.im:666 {
reverse_proxy localhost:8180
tls internal
}
https://neo4j.xx.zxj.im:666 {
reverse_proxy localhost:7474
tls internal
}
https://gitea.xx.zxj.im:666 {
reverse_proxy localhost:3001
tls internal
}
https://portainer.xx.zxj.im:666 {
reverse_proxy localhost:9003
tls internal
}
https://funasr.xx.zxj.im:666 {
reverse_proxy localhost:10095
tls internal
}
https://mielisearch.xx.zxj.im:666 {
reverse_proxy localhost:7700
tls internal
}
https://pocketbase.xx.zxj.im:666 {
reverse_proxy localhost:8090
tls internal
}
https://nocodb.xx.zxj.im:666 {
reverse_proxy localhost:8091
tls internal
}
https://teable.xx.zxj.im:666 {
reverse_proxy localhost:8095
tls internal
}

147
me/open.conf Normal file
View File

@ -0,0 +1,147 @@
http://open.xiongxiao.me:999 {
reverse_proxy localhost:3000
}
http://alist.xiongxiao.me:999 {
reverse_proxy localhost:5244
}
http://cloud.xiongxiao.me:999 {
reverse_proxy localhost:5212
}
http://file.xiongxiao.me:999 {
reverse_proxy localhost:8083
}
http://webdav.xiongxiao.me:999 {
reverse_proxy localhost:6060
}
http://minio.xiongxiao.me:999 {
reverse_proxy localhost:9000
}
http://memos.xiongxiao.me:999 {
reverse_proxy localhost:8181
}
http://prompt-opt.xiongxiao.me:999 {
reverse_proxy localhost:5213
}
http://cosyvoice.xiongxiao.me:999 {
reverse_proxy localhost:50000
}
http://dayan.xiongxiao.me:999 {
reverse_proxy 192.168.31.25:9978
}
http://drawio.xiongxiao.me:999 {
reverse_proxy localhost:13000
}
http://draw.xiongxiao.me:999 {
reverse_proxy localhost:13001
}
http://note.xiongxiao.me:999 {
reverse_proxy localhost:8888
}
http://ollama.xiongxiao.me:999 {
reverse_proxy localhost:11434
}
http://search.xiongxiao.me:999 {
reverse_proxy localhost:9000
}
http://sunshine.xiongxiao.me:999 {
reverse_proxy localhost:47990
}
http://tv.xiongxiao.me:999 {
reverse_proxy 192.168.31.37:9978
}
http://xiaoya.xiongxiao.me:999 {
reverse_proxy localhost:5678
}
http://dify.xiongxiao.me:999 {
reverse_proxy localhost:86
}
http://langflow.xx.zxj.im:999 {
reverse_proxy localhost:7860
tls internal
}
http://n8n.xiongxiao.me:999 {
reverse_proxy localhost:6679
}
http://autogenstudio.xiongxiao.me:999 {
reverse_proxy localhost:6680
}
http://esm.xiongxiao.me:999 {
reverse_proxy localhost:12000
}
http://anki.xiongxiao.me:999 {
reverse_proxy localhost:27701
}
http://home.xiongxiao.me:999 {
reverse_proxy localhost:8123
}
http://verdaccio.xiongxiao.me:999 {
reverse_proxy localhost:4873
}
http://umami.xiongxiao.me:999 {
reverse_proxy localhost:4004
}
http://pwd.xiongxiao.me:999 {
reverse_proxy localhost:8180
}
http://neo4j.xiongxiao.me:999 {
reverse_proxy localhost:7474
}
http://gitea.xiongxiao.me:999 {
reverse_proxy localhost:3001
}
http://portainer.xiongxiao.me:999 {
reverse_proxy localhost:9003
}
http://funasr.xiongxiao.me:999 {
reverse_proxy localhost:10095
}
http://mielisearch.xiongxiao.me:999 {
reverse_proxy localhost:7700
}
https://pocketbase.xiongxiao.me:666 {
reverse_proxy localhost:8090
tls internal
}
https://nocodb.xiongxiao.me:666 {
reverse_proxy localhost:8091
tls internal
}
https://teable.xiongxiao.me:666 {
reverse_proxy localhost:8095
tls internal
}

14
pem.json Normal file
View File

@ -0,0 +1,14 @@
{
"$schema": "https://kevisual.xiongxiao.me/root/ai/kevisual/tools/kevisual-sync/schema.json?v=2",
"metadata": {
"share": "public"
},
"sync": {
"https-cert.pem": {
"url": "https://kevisual.xiongxiao.me/root/ai/kevisual/apps/kevisual-app-pem/kevisual.app.crt"
},
"https-private-key.pem": {
"url": "https://kevisual.xiongxiao.me/root/ai/kevisual/apps/kevisual-app-pem/kevisual.app.key"
}
}
}

145
私有服务器.md Normal file
View File

@ -0,0 +1,145 @@
## 地址
### alist
地址: alist.xx.zxj.im
路径: localhost:5244
### open
地址: open.xx.zxj.im
路径: localhost:3000
### cloud
地址: cloud.xx.zxj.im
路径: localhost:5212
### filebrowser
地址: file.xx.zxj.im
路径: localhost:8083
### webdav
地址: webdav.xx.zxj.im
路径: localhost:6060
### minio
地址: minio.xx.zxj.im
路径: localhost:9000
### memos
地址: memos.xx.zxj.im
路径: localhost:8181
### prompt-opt
地址: prompt-opt.xx.zxj.im
路径: localhost:5213
### cosyvoice
地址: cosyvoice.xx.zxj.im
路径: localhost:50000
### dayan
地址: dayan.xx.zxj.im
路径: 192.168.31.25:9978
### drawio
地址: drawio.xx.zxj.im
路径: localhost:13000
### excalidraw
地址: draw.xx.zxj.im
路径: localhost:13001
## note jupyter
地址: note.xx.zxj.im
路径: localhost:8888
## ollama
地址: ollama.xx.zxj.im
路径: localhost:11434
## search service searxng
地址: search.xx.zxj.im
路径: localhost:9000
## sunshine
地址: sunshine.xx.zxj.im
路径: localhost:47990
## tv box
地址: tv.xx.zxj.im
路径: 192.168.31.37:9978
## xiaoya
地址: xiaoya.xx.zxj.im
路径: localhost:5678
## dify
地址: dify.xx.zxj.im
路径: localhost:86
## langflow
地址: langflow.xx.zxj.im
路径: localhost:7860
### n8n
地址: n8n.xx.zxj.im
路径: localhost:6679
### autogenstudio
地址: autogenstudio.xx.zxj.im
路径: localhost:6680
### esm
地址: esm.xx.zxj.im
路径: localhost:12000
### anki
地址: anki.xx.zxj.im
路径: localhost:27701
### home-assistant
地址: home.xx.zxj.im
路径: localhost:8123
### verdaccio
地址: verdaccio.xx.zxj.im
路径: localhost:4873
### umami
地址: umami.xx.zxj.im
路径: localhost:4004
### pwd vaultwarden
地址: pwd.xx.zxj.im
路径: localhost:8180
### neo4j
地址: neo4j.xx.zxj.im
路径: localhost:7474
### gitea
地址: gitea.xx.zxj.im
路径: localhost:3001
### portainer
地址: portainer.xx.zxj.im
路径: localhost:9003
### funasr
地址: funasr.xx.zxj.im
路径: localhost:10095
### mielisearch
地址: mielisearch.xx.zxj.im
路径: localhost:7700
### pocketbase
地址: pocketbase.xx.zxj.im
路径: localhost:8090
### nocodb
地址: nocodb.xx.zxj.im
路径: localhost:8091
### teable
地址: teable.xx.zxj.im
路径: localhost:8095