summaryrefslogtreecommitdiff
path: root/quietreading.conf
blob: 90a24e526b64c3c1828d562f1e007dc8d74bbb20 (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
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;
    client_body_temp_path /home/sy/code/nginx/files;
    default_type application/octet-stream;
    server {
        access_log /home/sy/code/logs/quietreading-access.log;

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

        location /hosts {
            default_type "text/html";
            alias /home/sy/code/site/quietreading/hosts.html;
        }

        error_page 404 /404.html;
        location = /404.html {
            root /home/sy/code/site/quietreading;
        }

        listen 9080;
    }
}