diff --git a/docs/host-your-own.md b/docs/host-your-own.md
index 2c22a3d..f846db7 100644
--- a/docs/host-your-own.md
+++ b/docs/host-your-own.md
@@ -556,10 +556,6 @@ a2enmod proxy
a2enmod proxy_http
```
-```bash
-a2enmod proxy_wstunnel
-```
-
Create a new configuration file under `/etc/apache2/sites-available` (on Debian)
@@ -570,18 +566,10 @@ Create a new configuration file under `/etc/apache2/sites-available` (on Debian)
```apacheconf
- ProxyPass / http://127.0.0.1:3000/
- RewriteEngine on
- RewriteCond %{HTTP:Upgrade} websocket [NC]
- RewriteCond %{HTTP:Connection} upgrade [NC]
- RewriteRule ^/?(.*) "ws://127.0.0.1:3000/$1" [P,L]
+ ProxyPass / http://127.0.0.1:3000/ upgrade=websocket
- ProxyPass / https://127.0.0.1:3000/
- RewriteEngine on
- RewriteCond %{HTTP:Upgrade} websocket [NC]
- RewriteCond %{HTTP:Connection} upgrade [NC]
- RewriteRule ^/?(.*) "wws://127.0.0.1:3000/$1" [P,L]
+ ProxyPass / https://127.0.0.1:3000/ upgrade=websocket
```
@@ -589,14 +577,10 @@ Create a new configuration file under `/etc/apache2/sites-available` (on Debian)
```apacheconf
- Redirect permanent / https://127.0.0.1:3000/
+ Redirect permanent / https://127.0.0.1:3000/
- ProxyPass / https://127.0.0.1:3000/
- RewriteEngine on
- RewriteCond %{HTTP:Upgrade} websocket [NC]
- RewriteCond %{HTTP:Connection} upgrade [NC]
- RewriteRule ^/?(.*) "wws://127.0.0.1:3000/$1" [P,L]
+ ProxyPass / http://127.0.0.1:3000/ upgrade=websocket
```