initial feature/react-migration commit

This commit is contained in:
2025-06-22 20:57:21 +00:00
parent 6653f3cf72
commit 76f6baf533
66 changed files with 12038 additions and 91 deletions

View File

@@ -1,14 +1,22 @@
events {}
http {
upstream dashboard {
server infoscreen-dashboard:8050;
server 127.0.0.1:3000;
}
server {
listen 80;
server_name _;
# Optional: HTTP auf HTTPS weiterleiten
return 301 https://$host$request_uri;
# return 301 https://$host$request_uri;
location / {
proxy_pass http://dashboard;
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;
}
}
server {
listen 443 ssl;
@@ -31,4 +39,4 @@ http {
proxy_set_header X-Forwarded-Proto $scheme;
}
}
}
}