add missing env vars (#1195)
* add missing env vars * add missing space Co-authored-by: Álvaro Manera <amanera@cartodb.com> Co-authored-by: alberhander <albertoh@carto.com>
This commit is contained in:
parent
fd9f935676
commit
15135b475c
@ -64,8 +64,8 @@ var config = {
|
|||||||
// 2. {{=it.user}}: will use the username as extraced from `user_from_host` or `routes`.
|
// 2. {{=it.user}}: will use the username as extraced from `user_from_host` or `routes`.
|
||||||
// 3. {{=it.port}}: will use the `port` from this very same configuration file.
|
// 3. {{=it.port}}: will use the `port` from this very same configuration file.
|
||||||
resources_url_templates: {
|
resources_url_templates: {
|
||||||
http: 'http://{{=it.cdn_url}}/{{=it.user}}/api/v1/map',
|
http: process.env.CARTO_WINDSHAFT_RESOURCE_URL_TEMPLATE_HTTP || 'http://{{=it.cdn_url}}/{{=it.user}}/api/v1/map',
|
||||||
https: 'https://{{=it.cdn_url}}/{{=it.user}}/api/v1/map'
|
https: process.env.CARTO_WINDSHAFT_RESOURCE_URL_TEMPLATE_HTTPS || 'https://{{=it.cdn_url}}/{{=it.user}}/api/v1/map'
|
||||||
},
|
},
|
||||||
// Specify the maximum length of the queue of pending connections for the HTTP server.
|
// Specify the maximum length of the queue of pending connections for the HTTP server.
|
||||||
// The actual length will be determined by the OS through sysctl settings such as tcp_max_syn_backlog and somaxconn on Linux.
|
// The actual length will be determined by the OS through sysctl settings such as tcp_max_syn_backlog and somaxconn on Linux.
|
||||||
@ -328,8 +328,8 @@ var config = {
|
|||||||
useProfiler: false,
|
useProfiler: false,
|
||||||
serverMetadata: {
|
serverMetadata: {
|
||||||
cdn_url: {
|
cdn_url: {
|
||||||
http: 'api.cartocdn.com',
|
http: process.env.CARTO_WINDSHAFT_SERVER_CDN_URL_HTTP || 'api.cartocdn.com',
|
||||||
https: 'cartocdn.global.ssl.fastly.net'
|
https: process.env.CARTO_WINDSHAFT_SERVER_CDN_URL_HTTPS || 'cartocdn.global.ssl.fastly.net'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// Settings for the health check available at /health
|
// Settings for the health check available at /health
|
||||||
|
Loading…
Reference in New Issue
Block a user