From 7d87fb50caceac9fe5c4b1b03524ce8f7fc796f7 Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Sat, 6 Mar 2021 18:58:50 -0300 Subject: [PATCH] Update apache_copypasta.txt --- apache_copypasta.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache_copypasta.txt b/apache_copypasta.txt index 25d9aaf..d172462 100644 --- a/apache_copypasta.txt +++ b/apache_copypasta.txt @@ -8,6 +8,6 @@ SSLProxyCheckPeerCN off SSLProxyCheckPeerExpire off RewriteEngine On RewriteCond %{HTTP:Upgrade} =websocket [NC] -RewriteRule /viaaas/(.*) wss://localhost:25543/$1 [P,L] +RewriteRule ^/viaaas/(.*) wss://localhost:25543/$1 [P,L] RewriteCond %{HTTP:Upgrade} !=websocket [NC] -RewriteRule /viaaas/(.*) https://localhost:25543/$1 [P,L] +RewriteRule ^/viaaas/(.*) https://localhost:25543/$1 [P,L]