42 lines
841 B
Markdown
42 lines
841 B
Markdown
# Nginx Proxy Manager Konfiguration (Einfach)
|
|
|
|
## Schritt 1: Proxy Host erstellen
|
|
|
|
1. Nginx Proxy Manager öffnen (http://deine-unraid-ip:81)
|
|
2. **Proxy Hosts** → **Add Proxy Host**
|
|
|
|
**Details:**
|
|
- Domain Names: `rce.playman.top`
|
|
- Scheme: `http`
|
|
- Forward Hostname: `192.168.101.42`
|
|
- Forward Port: `10001`
|
|
- Block Common Exploits: ✅
|
|
|
|
**SSL:**
|
|
- SSL Certificate: Request a new SSL Certificate
|
|
- Force SSL: ✅
|
|
- HTTP/2 Support: ✅
|
|
- Save
|
|
|
|
## Schritt 2: API Weiterleitung
|
|
|
|
Auf den Host klicken (Edit) → **Advanced** Tab:
|
|
|
|
**Custom Locations:**
|
|
|
|
```nginx
|
|
location /api {
|
|
proxy_pass http://192.168.101.42:10002;
|
|
proxy_http_version 1.1;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
}
|
|
```
|
|
|
|
**Save**
|
|
|
|
## Fertig!
|
|
|
|
- Frontend: https://rce.playman.top
|
|
- Backend intern: https://rce.playman.top/api/v1
|