fix: use HTTPS API URL with Nginx proxy

This commit is contained in:
Andrej Spielmann
2026-03-26 15:59:25 +01:00
parent bdcec35383
commit 6d0312ffd7
2 changed files with 42 additions and 1 deletions
+41
View File
@@ -0,0 +1,41 @@
# 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
+1 -1
View File
@@ -1 +1 @@
NEXT_PUBLIC_API_URL=http://192.168.101.42:10002/api/v1 NEXT_PUBLIC_API_URL=https://rce.playman.top/api/v1