aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-07-08 15:33:58 +0530
committerArun Isaac2022-07-08 15:54:23 +0530
commitba974773a016df5f10dd6528d848f48b1194d05b (patch)
treef0c3eb1d8389dd4e20cf85662dc503e4c37f7c95
parent43ab5745d9c0a7a257ab2d1ffcfe18ead3b557b5 (diff)
downloadgn-machines-ba974773a016df5f10dd6528d848f48b1194d05b.tar.gz
Support tissue URIs without the html extension.
* genenetwork-development.scm (tissue-reverse-proxy-server-block): Support URIs without the html extension.
-rw-r--r--genenetwork-development.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm
index a58d5d2..90ecc0d 100644
--- a/genenetwork-development.scm
+++ b/genenetwork-development.scm
@@ -735,7 +735,7 @@ reverse proxy tissue."
(server-name '("issues.genenetwork.org"))
(listen (list listen))
(root "/var/lib/tissue/issues.genenetwork.org/website")
- (try-files (list "$uri" "@tissue-search"))
+ (try-files (list "$uri" "$uri.html" "@tissue-search"))
(locations
(list (nginx-location-configuration
(uri "@tissue-search")