mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Update reverse-proxy.md
Users running AIO on Ubuntu Jammy may face blocked web socket traffic trough Apache, since rewrites with "?" are deemed unsafe. A error like this can be found in the error logs: "[rewrite:error] [pid396674] [client 192.168.xxx.yyy:57444] AH: Unsafe URL with %3f URL rewritten without UnsafeAllow3F" The rewrite rule UnsafeAllow3F is fixing this issue. Infos on that flag can be found here: https://httpd.apache.org/docs/current/rewrite/flags.html#flag_unsafe_allow_3f Signed-off-by: David <142408439+LinuxSpielKind@users.noreply.github.com>
This commit is contained in:
parent
bf29c8578a
commit
5e320a7b88
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue