diff --git a/NGINX-SIMPLE.md b/NGINX-SIMPLE.md new file mode 100644 index 0000000..02b1dc8 --- /dev/null +++ b/NGINX-SIMPLE.md @@ -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 diff --git a/frontend/.env.local b/frontend/.env.local index 6a185c3..9ccfe6e 100644 --- a/frontend/.env.local +++ b/frontend/.env.local @@ -1 +1 @@ -NEXT_PUBLIC_API_URL=http://192.168.101.42:10002/api/v1 +NEXT_PUBLIC_API_URL=https://rce.playman.top/api/v1