summaryrefslogtreecommitdiff
path: root/local.conf
blob: 2678e5c656943953a9c9bd40a35f196bc9a3bf13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
daemon off;
error_log /home/sy/code/logs/error.log;
pid /home/sy/code/logs/nginx.pid;

events {}
http {
    include /etc/nginx/mime.types;
    proxy_temp_path /home/sy/code/logs;
    default_type application/octet-stream;
    server {
        access_log /home/sy/code/logs/access.log;

        location /prosodyle {
            alias /home/sy/code/site/prosodyle/;
        }

        location /well-ordered {
            alias /home/sy/code/site/well-ordered/;
        }

        location /sumcheck {
            proxy_pass http://127.0.0.1:9000;
        }

        location /antiquitysort {
            proxy_pass http://127.0.0.1:8090;
        }

        location /spectral-renga {
            proxy_pass http://127.0.0.1:8080;
        }

        location / {
            root /home/sy/code/site/cyfraeviolae;
        }

        listen 9090;
    }
}