Permalink
Browse files

Adding a Future Image Systems (fis) localhost

  • Loading branch information...
1 parent 79c1778 commit b179d65f326853fe5a94c315559994081931a42c @mlyseng mlyseng committed Jul 20, 2011
Showing with 33 additions and 0 deletions.
  1. +33 −0 virtualhosts/fis.localhost.coverallcrew.com.conf
@@ -0,0 +1,33 @@
+server
+{
+ listen 127.0.0.1:8080;
+ server_name fis.localhost.coverallcrew.com;
+
+ root /usr/local/sites/futureimagesystems/;
+
+ index index.php index.html;
+
+
+ location /
+ {
+ if (!-e $request_filename)
+ {
+ rewrite ^.*$ /index.php last;
+ }
+
+ }
+
+ if (!-e $request_filename)
+ {
+ rewrite ^(.*)-([0-9]+)\.(css|js|png|swf)$ $1.$3 break;
+ }
+
+ 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 b179d65

Please sign in to comment.