Skip to content

Commit

Permalink
GH-2163 Bugfix for the Apache documentation (#2164)
Browse files Browse the repository at this point in the history
The <IfModule ...> section must be closed correctly

Co-authored-by: kfe <[email protected]>
  • Loading branch information
kili668 and kfe authored Jul 4, 2024
1 parent 49c271e commit d5714e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reposilite-site/data/guides/infrastructure/apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The most basic configuration should look like this:

RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule ^/api/(.*) ws://127.0.0.1:8081/api/$1 [P,L]
<IfModule mod_rewrite.c>
</IfModule>

ProxyPass / http://127.0.0.1:8081/
ProxyPassReverse / http://127.0.0.1:8081/
Expand Down Expand Up @@ -49,7 +49,7 @@ If you're running reposilite under a custom base path (e.g. `repo.example.com/re
# reposilite is listening on 127.0.0.1:8081
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule ^/reposilite/api/(.*) ws://127.0.0.1:8081/api/$1 [P,L]
<IfModule mod_rewrite.c>
</IfModule>
ProxyPass /reposilite/ http://127.0.0.1:8081/
ProxyPassReverse /reposilite/ http://127.0.0.1:8081/
Expand Down Expand Up @@ -117,4 +117,4 @@ Then restart apache.

```bash
sudo systemctl restart apache2
```
```

0 comments on commit d5714e5

Please sign in to comment.