aboutsummaryrefslogtreecommitdiff
path: root/doc/branding.md
blob: 0313e6a30638e667d68296dad797f9663a348de4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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`