Skip to content

Commit

Permalink
Update ExternalWebserversFile.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF authored Jan 20, 2024
1 parent ae863ca commit ce98757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/webserver/ExternalWebserversFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ ProxyPassMatch ^/(maps/[^/]*/live/.*) http://127.0.0.1:8100/$1
Newer versions of [Caddy](https://caddyserver.com/) have a `precompressed` option that's similar to Nginx's `gzip_static`. Unfortunately this [requires the "base" file](https://github.com/caddyserver/caddy/issues/5116) `.json` to also exist, but Bluemap only creates the "precompressed" files `.json.gz`.

Here is the required config to serve the high-res `.json.gz` files correctly:
```caddyfile
```
http://your-domain {
root * /usr/share/caddy/
file_server
Expand Down

0 comments on commit ce98757

Please sign in to comment.