新建部署配置
This commit is contained in:
15
caddy/config/Caddyfile
Normal file
15
caddy/config/Caddyfile
Normal file
@@ -0,0 +1,15 @@
|
||||
https://lanhuip.com {
|
||||
reverse_proxy web:3000
|
||||
}
|
||||
|
||||
https://www.lanhuip.com {
|
||||
reverse_proxy web:3000
|
||||
}
|
||||
|
||||
# 后端回调路径
|
||||
https://cb.lanhuip.com {
|
||||
route {
|
||||
reverse_proxy /callback/* platform:8080
|
||||
respond "Not Found" 404
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user