Name and icon code blocks by real filename across the site

This commit is contained in:
Djeex
2026-08-31 22:12:47 +02:00
parent baf3590186
commit 6696ed9b23
55 changed files with 277 additions and 252 deletions
@@ -99,7 +99,7 @@ sudo nano /docker/swag/config/tunnelconfig.yml
Paste:
```yaml
```yaml [tunnelconfig.yml]
ingress:
- hostname: mondomaine.fr
@@ -125,7 +125,7 @@ sudo nano /docker/swag/config/nginx/nginx.conf
Add the following at the end of the `http` section:
```nginx
```nginx [nginx.conf]
real_ip_header X-Forwarded-For;
real_ip_recursive on;
include /config/nginx/cf_real-ip.conf;
@@ -138,7 +138,7 @@ Save with :kbd{value="Ctrl+O"}, then :kbd{value="Enter"}, and exit with :kbd{val
In Dockge, edit your SWAG stack with this:
```yaml
```yaml [compose.yaml]
---
services:
swag:
@@ -183,7 +183,7 @@ services:
::tip{icon=""}
✨ __Tip:__ Add a Watchtower label to automate updates:
```yaml
```yaml [compose.yaml]
labels:
- com.centurylinklabs.watchtower.enable=true
@@ -192,7 +192,7 @@ labels:
Fill in your `.env` file:
```properties
```properties [.env]
PUID=
PGID=
DOMAIN=