Permalink
Browse files

Adding local AB conf files

  • Loading branch information...
1 parent 2f07f2f commit 3865fa463dc329c19b460e0218d38e24691d9cdd @mlyseng mlyseng committed Oct 31, 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;
+ }
+}

0 comments on commit 3865fa4

Please sign in to comment.