source: subversion/applications/utils/mod_tile/mod_tile.conf @ 16252

Last change on this file since 16252 was 15799, checked in by jochen, 11 years ago

Renderd uses iniparser3.0b ini file parser now which is included
Made renderd more configurable at runtime: socketname, num_threads and the mapnik settings plugins_dir, font_dir, and font_dir_recurse are now available through renderd.conf

There should be only one incompatible change: the [Default] section in the config is now in all lowercase "[default]" because the parser lib gives section and key names back in lowercase

File size: 1.1 KB
Line 
1# This is the Apache server configuration file for providing OSM tile support
2# through mod_tile
3
4LoadModule tile_module modules/mod_tile.so
5
6<VirtualHost *:80>
7    ServerName tile.openstreetmap.org
8    ServerAlias a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org d.tile.openstreetmap.org
9    DocumentRoot /var/www/html
10
11# You can either manually configure each tile set
12#    AddTileConfig /folder/ TileSetName
13
14# or load all the tile sets definted in the configuration file into this virtual host
15    LoadTileConfigFile /etc/renderd.conf
16
17# Timeout before giving for a tile to be rendered
18    ModTileRequestTimeout 3
19
20# If tile is out of date, don't re-render it if past this load threshold (users gets old tile)
21    ModTileMaxLoadOld 2
22
23# If tile is missing, don't render it if past this load threshold (user gets 404 error)
24    ModTileMaxLoadMissing 5
25
26# Socket where we connect to the rendering daemon
27    ModTileRenderdSocketName /var/run/renderd/renderd.sock
28   
29# increase the log level for more detailed information
30    LogLevel debug
31
32</VirtualHost>
33
Note: See TracBrowser for help on using the repository browser.