source: subversion/applications/utils/mod_tile/debian/mod_tile_example.conf @ 15889

Last change on this file since 15889 was 15836, checked in by jochen, 11 years ago

Debian build fixes

File size: 1.1 KB
Line 
1# This is the Apache server configuration file for providing OSM tile support
2# through mod_tile
3<VirtualHost *:80>
4    ServerName tile.openstreetmap.org
5    ServerAlias a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org d.tile.openstreetmap.org
6    DocumentRoot /var/www/html
7
8    # Timeout before giving for a tile to be rendered
9    ModTileRequestTimeout 3
10
11    # If tile is out of date, don't re-render it if past this load threshold (users gets old tile)
12    ModTileMaxLoadOld 2
13
14    # If tile is missing, don't render it if past this load threshold (user gets 404 error)
15    ModTileMaxLoadMissing 5
16
17    # Socket where we connect to the rendering daemon
18    ModTileRenderdSocketName /var/run/renderd/renderd.sock
19
20    # Tile cache directory
21    ModTileTileDir /var/lib/mod_tile
22   
23    # increase the log level for more detailed information
24    LogLevel debug
25
26    # Different maps can be found in different directories/URIs
27    # tiles under the URL http://server/osm/z/x/y.png would be foun
28    # in /var/lib/mod_tile/default/...
29    AddTileConfig /osm/ default
30
31</VirtualHost>
Note: See TracBrowser for help on using the repository browser.