Files

48 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: nginx
description:
published: true
date: 2026-06-28T14:31:06.951Z
tags:
editor: markdown
dateCreated: 2026-06-28T14:31:05.274Z
---
# Nginx Static Webserver
**Zusammenfassung**: Ein minimalistischer Nginx-Container für statische Webseiten. Läuft mit `nginx:alpine` und wird über Traefik angesteuert.
**Quellen**: `raw/Systemdaten Raspberry PI5.md`
**Zuletzt aktualisiert**: 2026-06-17
---
## Container
| Feld | Wert |
|---|---|
| **Image** | `nginx:alpine` |
| **Container-Name** | `nginx_pi5` |
| **Restart** | `unless-stopped` |
## Netzwerk
- `traefik` Zugriff über Reverse Proxy
## Volumes
| Host | Container | Zweck |
|---|---|---|
| `./html` | `/usr/share/nginx/html:ro` | Statische HTML-Dateien |
| `./config` | `/etc/nginx/conf.d:ro` | Nginx-Konfiguration |
| `./logs` | `/var/log/nginx` | Log-Dateien |
## Besonderheiten
- Keine direkten Port-Mappings die Kommunikation läuft **ausschließlich über das Traefik-Netzwerk**.
- Port 80 wird nur intern im Docker-Netzwerk bereitgestellt.
## Verwandte Seiten
- [traefik](./traefik.md)
- [docker-services](../docker-services.md)