Permalink
Browse files

Merge branch 'master' of github.com:coverall/nginx

  • Loading branch information...
2 parents fff3983 + 6e89d27 commit 99f09d93e9009b4e34be1e09bd0109efa39a4c1a @pgib pgib committed Dec 5, 2011
@@ -0,0 +1,24 @@
+server
+{
+ listen 127.0.0.1:8080;
+ server_name ab-br.localhost.coverallcrew.com;
+
+ root /usr/local/sites/appliedbiosystemstraining.com;
+
+ index index.php index.html;
+
+ if (!-e $request_filename)
+ {
+ rewrite ^(.*)-([0-9]+)\.(css|js|png|swf)$ $1.$3 break;
+ rewrite ^(.*)SkinUnderPlaySeekMute.swf$ /flash/SkinUnderPlaySeekMute.swf break;
+ rewrite ^.*$ /index.php last;
+ }
+
+ location ~ \.php$
+ {
+ fastcgi_pass 127.0.0.1:9000;
+ fastcgi_index index.php;
+ fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
+ include fastcgi_params;
+ }
+}
@@ -0,0 +1,24 @@
+server
+{
+ listen 127.0.0.1:8080;
+ server_name ab-mx.localhost.coverallcrew.com;
+
+ root /usr/local/sites/appliedbiosystemstraining.com;
+
+ index index.php index.html;
+
+ if (!-e $request_filename)
+ {
+ rewrite ^(.*)-([0-9]+)\.(css|js|png|swf)$ $1.$3 break;
+ rewrite ^(.*)SkinUnderPlaySeekMute.swf$ /flash/SkinUnderPlaySeekMute.swf break;
+ rewrite ^.*$ /index.php last;
+ }
+
+ location ~ \.php$
+ {
+ fastcgi_pass 127.0.0.1:9000;
+ fastcgi_index index.php;
+ fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
+ include fastcgi_params;
+ }
+}
@@ -20,5 +20,13 @@ server
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name;
include fastcgi_params;
+ fastcgi_connect_timeout 60;
+ fastcgi_send_timeout 180;
+ fastcgi_read_timeout 180;
+ fastcgi_buffer_size 128k;
+ fastcgi_buffers 4 256k;
+ fastcgi_busy_buffers_size 256k;
+ fastcgi_temp_file_write_size 256k;
+ fastcgi_intercept_errors on;
}
}

0 comments on commit 99f09d9

Please sign in to comment.