Project

General

Profile

localhost.conf

nginx snipped - matthiasr, 12/17/2011 10:52 AM

Download (293 Bytes)

 
1
server {
2
    listen       80;
3
    listen       [::]:80;
4
    server_name  localhost;
5

    
6
    root   /srv/www/localhost;
7
    index  index.html index.htm;
8

    
9
    location /file1.txt {
10
    }
11

    
12
    location /file2.txt {
13
        proxy_buffers 8 1m;
14
        proxy_pass http://localhost/file1.txt;
15
    }
16

    
17
}