Implement TLS support for WebSocket connections in yourchat2. Updated main.rs to handle secure WebSocket connections based on environment variables. Enhanced install-systemd.sh to include a template for environment configuration. Updated README to document new TLS-related environment variables and installation instructions.

This commit is contained in:
Torsten Schulz (local)
2026-03-04 17:42:47 +01:00
parent 0037ac5c28
commit aca290f1d0
6 changed files with 331 additions and 18 deletions

View File

@@ -14,3 +14,5 @@ tokio-postgres = "0.7"
openssl = "0.10"
hex = "0.4"
scrypt = "0.11"
tokio-rustls = "0.26"
rustls-pemfile = "2"