summaryrefslogtreecommitdiff
path: root/vendor/ruflin/elastica/test/nginx/nginx.conf
blob: 97f45fbc842b6f897f24408e872ae96352a3f440 (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
events {
    worker_connections 1024;
}

http {
    access_log logs/access.log;
    error_log logs/error.log;

    server {
        listen 127.0.0.1:12345;

        location / {
            proxy_pass http://127.0.0.1:9201;
        }
    }

    server {
        listen 127.0.0.1:12346;

        location / {
            return 403;
        }
    }
}