删除 conf.d/website/example.yml

This commit is contained in:
jingrow 2025-08-08 08:07:19 +08:00
parent 3ac01dbfd0
commit 822f9bd564

View File

@ -1,34 +0,0 @@
http:
routers:
main-https:
rule: &host_rule "Host(`example.com`) || Host(`www.example.com`)"
entryPoints:
- websecure
service: main-service
# 如果需要使用自动申请SSL证书自动续期等功能请取消注释以下内容
# tls:
# certResolver: myresolver
main-http-redirect:
rule: *host_rule
entryPoints:
- web
middlewares:
- redirect-to-https
service: noop
services:
main-service:
loadBalancer:
servers:
- url: "http://100.100.100.100:3000" # 这里填写你的后端服务地址(上游服务)
noop:
loadBalancer:
servers:
- url: "http://127.0.0.1:65535" # 占位用无实际后端仅用于HTTP跳转
middlewares:
redirect-to-https:
redirectScheme:
scheme: https
permanent: true