about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--doc/branding.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/branding.md b/doc/branding.md
index 416a08b..0313e6a 100644
--- a/doc/branding.md
+++ b/doc/branding.md
@@ -1,3 +1,18 @@
 # Branding for GeneNetwork
 
 GN Guile provides a branding mechanism for GN.
+
+To redirect a URL in nginx do something like:
+
+```
+    server_name aging.genenetwork.org;
+
+    location / {
+        proxy_pass         http://127.0.0.1:8091/;
+        proxy_redirect     off;
+        proxy_buffering    off;
+        rewrite ^/$ /home/aging last;
+    }
+```
+
+it redirects the base URL to the page rendered in `web/view/brand/aging.scm`