/
server-config.properties
52 lines (46 loc) · 2.41 KB
/
server-config.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Content root folder. The {siteName} variable will be automatically replaced.
crafter.engine.site.default.rootFolder.path=file:${CRAFTER_DATA_DIR}/repos/sites/{siteName}/
# Content root folder when using S3 store. Format is s3://<BUCKET_NAME>/<SITES_ROOT>/{siteName}
# crafter.engine.site.default.rootFolder.path=s3://crafter-serverless/sites/{siteName}
# The URL of Crafter Search
crafter.engine.search.server.url=${SEARCH_URL}
# The URL of Crafter Profile
crafter.profile.rest.client.url.base=${PROFILE_URL}
# If the Security Provider is enabled
crafter.security.enabled=true
# The Elasticsearch hosts to use
crafter.engine.elasticsearch.urls=${ES_URL}
# The username for Elasticsearch
crafter.engine.elasticsearch.username=${ES_USERNAME}
# The password for Elasticsearch
crafter.engine.elasticsearch.password=${ES_PASSWORD}
# The connection timeout in milliseconds, if set to -1 the default will be used
crafter.engine.elasticsearch.timeout.connect=-1
# The socket timeout in milliseconds, if set to -1 the default will be used
crafter.engine.elasticsearch.timeout.socket=-1
# The number of threads to use, if set to -1 the default will be used
crafter.engine.elasticsearch.threads=-1
# Indicates if keep alive should be enabled for sockets used by the search client, defaults to false
crafter.engine.elasticsearch.keepAlive=false
# S3 Serverless properties
# S3 region
# crafter.engine.s3.region=us-east-1
# AWS access key
# crafter.engine.s3.accessKey=
# AWS secret key
# crafter.engine.s3.secretKey=
# Engine management authorization token
crafter.engine.management.authorizationToken=${ENGINE_MANAGEMENT_TOKEN}
# The key used for encryption of configuration properties
crafter.security.encryption.key=${CRAFTER_ENCRYPTION_KEY}
# The salt used for encryption of configuration properties
crafter.security.encryption.salt=${CRAFTER_ENCRYPTION_SALT}
# The current environment the Engine instance is running in (e.g. default, dev, qa, prod)
crafter.engine.environment=${CRAFTER_ENVIRONMENT}
# Indicates if Forwarded or X-Forwarded headers should be used when resolving the client-originated protocol and
# address. Enable when Engine is behind a reverse proxy or load balancer that sends these
crafter.engine.forwarded.headers.enabled=false
# Indicates if the 'etag' header should be added
crafter.engine.header.etag.enable=true
# Indicates the urls that will have the 'etag' header (comma separated ant matchers)
crafter.engine.header.etag.include.urls=/**