Skip to content

Commit

Permalink
Merge pull request #282 from DanScharon/DanScharon-apache2447
Browse files Browse the repository at this point in the history
add reverse proxy config example for Apache >= 2.4.47
  • Loading branch information
blizzz authored Dec 9, 2024
2 parents d84577b + 111d1c9 commit ac790eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ docker build -t nextcloud-whiteboard-server -f Dockerfile .

### Reverse proxy

#### Apache
#### Apache < 2.4.47

```
ProxyPass /whiteboard http://localhost:3002/
Expand All @@ -94,6 +94,12 @@ RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule ^/?whiteboard/(.*) "ws://localhost:3002/$1" [P,L]
```

#### Apache >= 2.4.47

```
ProxyPass /whiteboard http://localhost:3002/ upgrade=websocket
```

#### Nginx

```
Expand Down

0 comments on commit ac790eb

Please sign in to comment.