Updatede [common] to handle cookies

Websocket support on Wetty
This commit is contained in:
2026-04-14 15:50:07 +02:00
parent 7c7cf1bd02
commit b5a3c3fe21
2 changed files with 132 additions and 0 deletions
+5
View File
@@ -10,6 +10,8 @@
header {
X-Frame-Options "SAMEORIGIN"
X-Content-Type-Options "nosniff"
# Säker cookie för sessionhantering
Set-Cookie "session_id=default; Path=/; SameSite=Lax; Secure; HttpOnly"
}
}
@@ -51,6 +53,9 @@ wetty.gynther.se {
import common
redir / /wetty
reverse_proxy wetty:3001
transport http {
websocket # Aktivera WebSocket-stöd
}
}
portainer.gynther.se {