You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/FAQ.md
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,20 +248,23 @@ hide:
248
248
249
249
To skip this verification we can modify site entry of the [caddyfile](https://caddyserver.com/docs/quick-starts/caddyfile) as shown below:
250
250
251
-
*Note: replace `calibre.xxx.com` with your domain and `172.xxx.xxx.xxx:8181` with your backend service IP and port.*
251
+
!!! note
252
+
Replace `calibre.xxx.com` with your domain and `172.xxx.xxx.xxx:8181` with your backend service IP and port.
252
253
253
-
```caddyfile
254
-
calibre.xxx.com {
255
-
reverse_proxy https://172.xxx.xxx.xxx:8181 {
256
-
transport http {
257
-
tls
258
-
tls_insecure_skip_verify
259
-
}
254
+
255
+
```caddyfile
256
+
calibre.xxx.com {
257
+
reverse_proxy https://172.xxx.xxx.xxx:8181 {
258
+
transport http {
259
+
tls
260
+
tls_insecure_skip_verify
260
261
}
261
262
}
262
-
```
263
+
}
264
+
```
263
265
264
-
**Bonus Tip 1**: If you find yourself needing to do this for multiple services, you can also define a [caddy snippet](https://caddyserver.com/docs/caddyfile/concepts#snippets) and reuse it in your caddyfile like so:
266
+
???+ tip "Bonus Tip 1: Caddy Snippets"
267
+
If you find yourself needing to do this for multiple services, you can also define a [caddy snippet](https://caddyserver.com/docs/caddyfile/concepts#snippets) and reuse it in your caddyfile like so:
265
268
266
269
```caddyfile
267
270
(allow_insecure_ssl) {
@@ -277,7 +280,8 @@ hide:
277
280
}
278
281
```
279
282
280
-
**Bonus Tip 2**: If you use [caddy-docker-proxy](https://github.com/lucaslorentz/caddy-docker-proxy), you can simply apply the following labels to your docker-compose yaml file:
283
+
???+ tip "Bonus Tip 2: caddy-docker-proxy"
284
+
If you use [caddy-docker-proxy](https://github.com/lucaslorentz/caddy-docker-proxy), you can simply apply the following labels to your docker-compose yaml file:
0 commit comments