2013年11月29日 星期五 17:47
server { listen 80; server_name _; location ~* ^/resize/([\d\-]+)/([\d\-]+)/(.+)$ { alias /var/www/html/$3; image_filter resize $1 $2; image_filter_buffer 8M; } location ~* ^/crop/([\d\-]+)/([\d\-]+)/(.+)$ { alias /var/www/html/$3; image_filter crop $1 $2; image_filter_buffer 8M; } location / { root /var/www/html; } }
worker_processes 16;
Zeuux © 2024
京ICP备05028076号