streaming dynamic downloads?
jeff emminger
jemminger at gmail.com
Mon May 19 18:42:15 MSD 2008
>
> Could you show your configuraiton of "/export/" ?
>
Hi Igor,
I haven't explicitly configured '/export/', it is just a subdirectory
of the application configured at:
server {
listen 443;
ssl on;
ssl_certificate /etc/ssl/certs/secure.mysite.org.crt;
ssl_certificate_key /etc/ssl/private/secure.mysite.org.key;
server_name secure.mysite.org;
access_log logs/mysite.org.access.log main;
location / {
root /var/www/docs/mysite.org/secure;
index index.html index.htm index.php;
}
error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/var/www/docs/mysite.org/secure/$fastcgi_script_name;
include conf/fastcgi.conf;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /\.ht {
deny all;
}
}
More information about the nginx
mailing list