view ssi-include-big.conf @ 9:f772e2a1a13f

Tests: change directory to allow runing from outside. Use FindBin to find out where tests reside and chdir() into it. This allows to use configs from the directory with tests and to use _common.pm.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 10 Sep 2008 17:41:04 +0400
parents 4d75bdb05ecf
children f6bb0ffdb9b4
line wrap: on
line source

# Config for ssi-include-big.t test.

worker_processes  1;

master_process off;
daemon         off;

events {
    worker_connections  1024;
}

http {
    access_log    off;
    root          %%TESTDIR%%;

    output_buffers  2 512;
    ssi on;
    gzip on;
    gzip_http_version 1.0;


    server {
        listen       8080;
        server_name  localhost;

        location /proxy/ {
            proxy_pass http://localhost:8080/local/;
        }
        location = /local/blah {
            return 204;
        }
    }
}