Permalink
Browse files

nginx example

  • Loading branch information...
1 parent 31407c7 commit a425aac600fb2d4536d039844301d95247162118 @filiptepper committed May 24, 2012
Showing with 24 additions and 0 deletions.
  1. +24 −0 nginx/nginx.conf
View
@@ -0,0 +1,24 @@
+worker_processes 2;
+
+events {
+ worker_connections 1024;
+}
+
+error_log /tmp/error.log;
+
+http {
+ access_log /tmp/access.log;
+
+ default_type application/octet-stream;
+ sendfile on;
+ gzip on;
+
+ server {
+ listen 9292;
+ root /Users/filip/Code/thumbnails;
+ location / {
+ rewrite /(.*)$ /image.jpg break;
+ image_filter resize 100 100;
+ }
+ }
+}

0 comments on commit a425aac

Please sign in to comment.