Set title for code listings

This commit is contained in:
Florian Preinstorfer 2024-12-17 07:30:21 +01:00 committed by nblock
parent 0acb2b5647
commit bbc93a90a2
7 changed files with 16 additions and 16 deletions

View file

@ -30,7 +30,7 @@ hostname and port combination "http://hostname-in-magic-dns.myvpn.example.com:30
=== "Static entries, via `dns.extra_records`"
```yaml
```yaml title="config.yaml"
dns:
...
extra_records:
@ -48,7 +48,7 @@ hostname and port combination "http://hostname-in-magic-dns.myvpn.example.com:30
=== "Dynamic entries, via `dns.extra_records_path`"
```json
```json title="extra-records.json"
[
{
"name": "grafana.myvpn.example.com",
@ -93,7 +93,7 @@ hostname and port combination "http://hostname-in-magic-dns.myvpn.example.com:30
The motivating example here was to be able to access internal monitoring services on the same host without
specifying a port, depicted as NGINX configuration snippet:
```
```nginx title="nginx.conf"
server {
listen 80;
listen [::]:80;