summaryrefslogtreecommitdiff
path: root/example/nginx.conf
blob: d6a31996dfe2a519106b603e188f4c8731aa20f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
server {
    listen       8080;
    server_name  travel3;

    location / {
        proxy_pass http://127.0.0.1:5555;
#       fastcgi_pass   127.0.0.1:5555;
#       include        fastcgi_params;
    }

    location /static/ {
        internal;
        root /home/the_jk/travels;
    }

    location /media/ {
        internal;
        root /home/the_jk/travels;
    }
}