David Shrewsbury d29981584c Use template for Nginx in pypimirror module.
Fixes bug 999242.

No longer make Nginx default site config file a
static file. Instead, use a template that correctly
sets the document root.

Change-Id: Ib4a21319e78dc905cb33514a1371d7719be0380a
2012-05-14 16:25:40 -04:00

10 lines
109 B
Plaintext

server {
listen 80;
index index.html index.htm;
location / {
root <%= mirror_file_path %>;
}
}