Merge pull request #4957 from LinuxSpielKind/patch-1

Update reverse-proxy.md
This commit is contained in:
Simon L 2024-07-09 14:32:49 +02:00 committed by GitHub
commit 3a691aa9a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -91,7 +91,7 @@ Add this as a new Apache site config:
RewriteCond %{HTTP:Upgrade} websocket [NC] RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC] RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$" RewriteCond %{THE_REQUEST} "^[a-zA-Z]+ /(.*) HTTP/\d+(\.\d+)?$"
RewriteRule .? "ws://localhost:11000/%1" [P,L] RewriteRule .? "ws://localhost:11000/%1" [P,L,UnsafeAllow3F]
# Enable h2, h2c and http1.1 # Enable h2, h2c and http1.1
Protocols h2 h2c http/1.1 Protocols h2 h2c http/1.1