Emergency Stop fix 3

This commit is contained in:
chk
2026-06-12 19:22:50 +02:00
parent 657a2a0670
commit 8706bc4c01
2 changed files with 69 additions and 17 deletions

View File

@@ -17,23 +17,6 @@ server {
try_files $uri $uri/ /index.html;
}
# Robot Driver: power-status + emergency-stop (interner Proxy, vermeidet CORS)
location = /api/power-status {
proxy_pass http://appServer_TunnelHead:9798/api/power-status;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location = /api/emergency-stop {
proxy_pass http://appServer_TunnelHead:9798/api/emergency-stop;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# API forwarding (auth)
location /api/ {
proxy_pass http://appserverauth:3000/api/;