source: src/django_gheat/httpd/osmproxy.conf@ 10615

Last change on this file since 10615 was 10615, checked in by rick, 13 years ago

Weed out whole bunch of unused code, to avoid huge dependency listing.

File size: 1.5 KB
Line 
1<VirtualHost *:80>
2 ServerAdmin techniek@lijst.wirelessleiden.nl
3 DocumentRoot /var/empty
4 ServerName osmproxy.wirelessleiden.nl
5 ServerAlias a.osmproxy.wirelessleiden.nl b.osmproxy.wirelessleiden.nl c.osmproxy.wirelessleiden.nl d.osmproxy.wirelessleiden.nl e.osmproxy.wirelessleiden.nl f.osmproxy.wirelessleiden.nl
6
7 ErrorLog /var/log/httpd/nl.wirelessleiden.osmproxy-error.log
8 CustomLog /var/log/httpd/nl.wirelessleiden.osmproxy-access.log common
9
10 <Directory /var/empty>
11 Allow from all
12 </Directory>
13
14 <Proxy balancer://osmcluster>
15 BalancerMember http://a.tile.openstreetmap.org:80 max=3
16 BalancerMember http://b.tile.openstreetmap.org:80 max=3
17 BalancerMember http://c.tile.openstreetmap.org:80 max=3
18 </Proxy>
19 # Example /7/63/43.png
20 <Location /osm-tile-proxy>
21 Order allow,deny
22 Allow from all
23 </Location>
24 ProxyPassMatch ^/osm-tile-proxy/(\d{1,2}/\d{1,6}/\d{1,6}\.png)$ balancer://osmcluster/$1 lbmethod=byrequests
25 CacheEnable disk /osm-tile-proxy/
26
27 # 1 week
28 CacheDefaultExpire 604800
29 CacheRoot "/usr/local/var/httpd/cache/osmproxy"
30 CacheDirLevels 2
31 CacheDirLength 1
32 CacheMaxFileSize 1000000
33 CacheMinFileSize 1
34 CacheIgnoreCacheControl On
35 CacheIgnoreNoLastMod On
36 CacheIgnoreQueryString Off
37 CacheIgnoreHeaders None
38 CacheLastModifiedFactor 0.1
39 CacheMaxExpire 86400
40 CacheStoreNoStore On
41 CacheStorePrivate On
42
43
44 <Location /balancer-manager>
45 SetHandler balancer-manager
46
47 Order Deny,Allow
48 Allow from all
49 </Location>
50</VirtualHost>
51
52
Note: See TracBrowser for help on using the repository browser.