Skip to content

Commit 8da0fdc

Browse files
feat(styling): make tips display in admonitions
- thanks to @Roxedus for the suggestion
1 parent 7a5529a commit 8da0fdc

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

docs/FAQ.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -248,20 +248,23 @@ hide:
248248

249249
To skip this verification we can modify site entry of the [caddyfile](https://caddyserver.com/docs/quick-starts/caddyfile) as shown below:
250250

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.
252253

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
260261
}
261262
}
262-
```
263+
}
264+
```
263265

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:
265268

266269
```caddyfile
267270
(allow_insecure_ssl) {
@@ -277,7 +280,8 @@ hide:
277280
}
278281
```
279282

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:
281285

282286
```yaml
283287
labels:

0 commit comments

Comments
 (0)