First changes for Docker

This commit is contained in:
Fabio Herzig
2026-07-25 21:51:43 +02:00
parent 6cb5386205
commit 99a5863f56
10 changed files with 122 additions and 321 deletions
+25
View File
@@ -0,0 +1,25 @@
events {}
http {
server {
listen 80;
location /ws/ {
proxy_pass http://127.0.0.1:8082;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
# Prevent WebSocket timeout
proxy_read_timeout 36000s; # 1 hour
proxy_send_timeout 36000s; # 1 hour
proxy_connect_timeout 75s; # optional
}
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
}
}