aboutsummaryrefslogtreecommitdiff
path: root/production.scm
diff options
context:
space:
mode:
authorArun Isaac2024-03-01 17:15:13 +0000
committerArun Isaac2024-03-01 17:21:11 +0000
commit6e89d155df5750966fae7b3039f4b9a81ea0009d (patch)
treead34a5a9d60f50b68f0d422c3219bf479ca6ab7e /production.scm
parent405cd495049efa78c901ae767035b594e4188db8 (diff)
downloadgn-machines-6e89d155df5750966fae7b3039f4b9a81ea0009d.tar.gz
Reverse proxy gn-auth on production.
* genenetwork/services/genenetwork.scm (<genenetwork-configuration>)[gn-auth-server-name]: New field. * genenetwork/services/genenetwork.scm (genenetwork-nginx-server-block): Rename to ... (genenetwork-nginx-server-blocks): ... this. Return list of reverse proxy blocks including one for gn-auth. * genenetwork/services/genenetwork.scm (genenetwork-service-type): Use genenetwork-nginx-server-blocks instead of genenetwork-nginx-server-block. * production.scm (operating-system)[services]{genenetwork-service-type}: Add gn-auth-server-name.
Diffstat (limited to 'production.scm')
-rw-r--r--production.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/production.scm b/production.scm
index 12ec385..f422b34 100644
--- a/production.scm
+++ b/production.scm
@@ -61,6 +61,7 @@
(service genenetwork-service-type
(genenetwork-configuration
(server-name "test1.genenetwork.org")
+ (gn-auth-server-name "test1-auth.genenetwork.org")
(gn2-port 8892)
(gn3-port 8893)
(sql-uri "mysql://webqtlout:webqtlout@localhost/db_webqtl")