diff --git a/yourpart-https.conf b/yourpart-https.conf index 4e4d2e2..6b37a86 100644 --- a/yourpart-https.conf +++ b/yourpart-https.conf @@ -37,9 +37,8 @@ RewriteCond %{HTTP:Connection} upgrade [NC] RewriteRule ^/ws/(.*)$ "ws://localhost:4551/$1" [P,L] - # WebSocket-Proxy für Daemon-Verbindungen (nur für WebSocket-Upgrade) - ProxyPass "/ws/" "ws://localhost:4551/" upgrade=websocket - ProxyPassReverse "/ws/" "ws://localhost:4551/" + # Blockiere alle anderen /ws/ Requests (nur WebSocket-Upgrade erlaubt) + ProxyPass "/ws/" "!" ErrorLog /var/log/apache2/yourpart.error.log CustomLog /var/log/apache2/yourpart.access.log combined