aboutsummaryrefslogtreecommitdiff
path: root/doc/branding.md
diff options
context:
space:
mode:
authorPjotr Prins2023-12-22 11:13:45 +0100
committerPjotr Prins2023-12-22 11:13:45 +0100
commit0799806735942cc3d44626c3c8b54402343a47f5 (patch)
tree5e8462cecd809b99f62cfe7b0bd90304cdf5b5ef /doc/branding.md
parente68a6a4b879da45b9919459e36e447603a55334e (diff)
downloadgn-guile-0799806735942cc3d44626c3c8b54402343a47f5.tar.gz
Document rebranding nginx config
Diffstat (limited to 'doc/branding.md')
-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`