mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 19:32:34 +02:00
Merge pull request #12 from peeterss/patch-1
Update Reverse-Proxy.md
commit
871e49ae72
1 changed files with 4 additions and 3 deletions
|
@ -69,9 +69,10 @@ With SSL:
|
|||
|
||||
ProxyPass / http://localhost:3001/
|
||||
RewriteEngine on
|
||||
RewriteCond %{HTTP:Upgrade} websocket [NC]
|
||||
RewriteCond %{HTTP:Connection} upgrade [NC]
|
||||
RewriteRule ^/?(.*) "ws://localhost:3001/$1" [P,L]
|
||||
RewriteCond %{HTTP:Upgrade} =websocket
|
||||
RewriteRule /(.*) ws://localhost:3001/$1 [P,L]
|
||||
RewriteCond %{HTTP:Upgrade} !=websocket
|
||||
RewriteRule /(.*) http://localhost:3001/$1 [P,L]
|
||||
</VirtualHost>
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue