Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding local AB conf files

  • Loading branch information...
commit 3865fa463dc329c19b460e0218d38e24691d9cdd 1 parent 2f07f2f
@mlyseng mlyseng authored
View
24 virtualhosts/ab-br.localhost.coverallcrew.com.conf
@@ -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;
+ }
+}
View
24 virtualhosts/ab-mx.localhost.coverallcrew.com.conf
@@ -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;
+ }
+}
Please sign in to comment.
Something went wrong with that request. Please try again.