xavijam
d50c6c6dc3
close #144 - removed unnecessary comma
2014-02-14 13:12:52 +01:00
Sandro Santilli
678d653ee9
Allow configuring TTL of mapConfigs via "mapConfigTTL"
2014-02-13 15:44:54 +01:00
Sandro Santilli
e4cd37647e
Allow limiting number of allowed user templates
...
Adds maxUserTemplates directive.
Closes #136
2014-02-13 14:55:31 +01:00
Sandro Santilli
bf45bbea56
Do not send multiple equal commands to Varnish on connect
...
Closes #135
Also accept varnish "secret" in config
2014-02-12 16:14:27 +01:00
Sandro Santilli
cdbcc7dc18
Put statsd config in all example configs
2014-02-12 16:01:50 +01:00
Sandro Santilli
9018e39762
Make endpoints configurable
...
Closes #127
Uses /api/v1/maps* in the production and staging example configs,
keeps /maps* for development and test (they are examples...)
2014-02-05 15:14:47 +01:00
Sandro Santilli
db478579c5
Fix example development configuration to avoid use of empty sqlapi.domain
...
This is because as of CartoDB-SQL-API-1.8.2 the "user_from_host"
default configuration for "development" environment is:
'^(.*)\\.localhost'
Which would not match a domain-less hostname
Closes #117 for real now.
2014-01-30 16:56:23 +01:00
Sandro Santilli
ca4f3d2025
Re-introduce sqlapi.host directive, allowing DNS lookups drop
...
For backward compatibility, sqlapi.host is only used if domain
is also defined and has a different value (empty string allowed).
Closes #117
2014-01-30 16:12:37 +01:00
Sandro Santilli
1f693c6c78
Add 'user_from_host' directive to generalize username extraction
...
Closes #100
Default extractor is backward compatible
2013-12-17 17:17:17 +01:00
Sandro Santilli
dd48aa73e2
Improve documentation for postgres_auth_* configuration directives
2013-12-17 17:17:15 +01:00
Sandro Santilli
baa95a62d1
Add support for reading user-specific database_password from redis
...
This commits adds support for CartoDB-2.5.0 model.
Closes #89 .
Change is backward compatible.
2013-12-17 17:17:14 +01:00
Sandro Santilli
eb51d18012
Add support for specifying database connection passwords
2013-12-17 17:17:13 +01:00
Sandro Santilli
633e8d164b
Rename sqlapi.host configuration to sqlapi.domain. Closes #79 .
...
Support for "host" is retained for backward compatibility.
2013-08-21 10:11:30 +02:00
Sandro Santilli
db951234aa
Add note about cache dir need to be writable by server user
...
As per
https://groups.google.com/d/msg/cartodb/z06r9SwaoOM/b34In4TTdd0J
2013-08-21 10:04:43 +02:00
Sandro Santilli
7cb69d1db9
Add example of including profile in response log line
2013-07-18 09:53:59 +02:00
Sandro Santilli
ec97381820
Add more timing in the profile, add useProfiler config variable
...
Default to useProfiler:true in staging and development
2013-07-16 16:33:03 +02:00
Sandro Santilli
f6d50fafb1
Expose renderer settings in the environment config files
...
These are: metatile, bufferSize and cache_ttl
2013-02-25 17:05:59 +01:00
Sandro Santilli
14e3ead06e
Add redis.max configuration setting and document it.
2013-02-21 12:56:04 +01:00
Sandro Santilli
61f4212ba2
Remove use of ANSI colors from all example log formats
2013-01-30 12:59:05 +01:00
Sandro Santilli
2510a47262
Add maxConnection environment configuration, have it default to 128
...
The number gives the maximum number of contemporary connections and
is dimensioned on the limit of open file descriptors found to be
needed on a per-connection basis.
2013-01-29 17:36:50 +01:00
Sandro Santilli
42b3d0ab9c
Add redis timeout and reap interval options in production.js.example
...
Use default values, for documentation purposes
2013-01-29 13:01:17 +01:00
Sandro Santilli
cc91e0dcff
Add a row limitof 65535 (256x256) in the example configs.
...
Closes #64
2012-12-07 20:34:24 +01:00
Sandro Santilli
b884fe00ea
The parameter to simplify geometries is "simplify_geometries"
...
Closes #63
2012-12-07 19:50:57 +01:00
Sandro Santilli
4f8b855f1f
Add reference to the list of accepted parameters for the postgres section
2012-12-07 18:58:31 +01:00
Sandro Santilli
6f5e3837e3
Use an env config parameter for socket timeout
2012-12-05 13:59:20 +01:00
Sandro Santilli
69508f05d7
Reduce default extent to allow for consistent proj4 round-tripping
...
See https://github.com/Vizzuality/grainstore/issues/42
2012-11-29 10:20:37 +01:00
Sandro Santilli
a0cd4354a7
Enlarge default map extent
...
See https://github.com/Vizzuality/grainstore/issues/42
2012-11-28 11:24:04 +01:00
Sandro Santilli
bbdc29faae
Set max_size=500 in the example configurations
...
TODO: add a ./configure switch to set it
2012-11-27 18:30:08 +01:00
Sandro Santilli
9cdd2800fa
Use "undefined" mapnik_version in the example configs
...
Using "undefined" for mapnik_version triggers autodetection,
which is more appropriate.
2012-10-09 12:12:33 +02:00
Sandro Santilli
961269fa1f
Autodetect target mapnik version and let config override it
...
Closes #40
2012-10-08 17:45:03 +02:00
Sandro Santilli
a201888fde
Make logging format configurable ( closes #4 )
...
NOTE: the default format for the "test" environment is without
ansi colors, to be easier on remote terminal sessions
2012-10-05 15:52:51 +02:00
Sandro Santilli
5ae864a3c8
Remove config files from repo, provide ./configure script to generate
...
Closes #34
2012-10-05 15:50:40 +02:00