RayOuO's recent timeline updates
RayOuO

RayOuO

V2EX member #544272, joined on 2021-05-01 15:21:32 +08:00
RayOuO's recent replies
@Buges 好的,明白了,谢谢
@IvanLi127 好的,谢谢你~
@IvanLi127 如果被代理的 http 服务器 1.1.12 使用 caddy 实现 https ,Caddyfile 如下
```
xxxx {
reverse_proxy localhost:8080
}
```

如果要用 caddy 代理一个 https ,并且配置自己的证书,Caddyfile 应该怎么配置呢?
```
xxxxxxxxx {
reverse_proxy https://xxxx
}
```
这样写提示 Caddyfile fmt 不正确
@IvanLi127 如果被代理的 http 服务器 1.1.12 使用 caddy 实现 https ,Caddyfile 如下
```
a.example.com {
reverse_proxy localhost:8080
}
```

如果要用 caddy 代理一个 https ,并且配置自己的证书,Caddyfile 应该怎么配置呢?
```
example.com {
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3078 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 12:58 · PVG 20:58 · LAX 05:58 · JFK 08:58
♥ Do have faith in what you're doing.