 	settings.proxyLearn = parse(process.env["SHARELATEX_PROXY_LEARN"])
 
 
+# /References
+# -----------
+if process.env["SHARELATEX_ELASTICSEARCH_URL"]?
+	settings.references.elasticsearch =
+			host: process.env["SHARELATEX_ELASTICSEARCH_URL"]
+	
 
 # With lots of incoming and outgoing HTTP connections to different services,
 # sometimes long running, it is a good idea to increase the default number

	settings.nav.custom_logo = process.env["SHARELATEX_HEADER_IMAGE_URL"]
	
if process.env["SHARELATEX_HEADER"]?
	settings.nav.header = process.env["SHARELATEX_HEADER"]


# Sending Email

	settings.templates =
		mountPointUrl: "/templates"
		user_id: process.env["SHARELATEX_TEMPLATES_USER_ID"]
		
	settings.templateLinks = parse(process.env["SHARELATEX_NEW_PROJECT_TEMPLATE_LINKS"])


# /Learn
