Browse files

added gitignore file

  • Loading branch information...
1 parent 6e49bc9 commit 777003d3fdc2201db7d09afaf236a3c191d105d8 Julian Jorgensen committed Nov 14, 2011
Showing with 62 additions and 0 deletions.
  1. BIN .DS_Store
  2. +2 −0 .gitignore
  3. +60 −0 virtualhosts/localhost.youthvoices.adobe.com.conf
View
BIN .DS_Store
Binary file not shown.
View
2 .gitignore
@@ -0,0 +1,2 @@
+virtualhosts/localhost.atmaroot.com.conf
+virtualhosts/localhost.jeancueta.com.conf
View
60 virtualhosts/localhost.youthvoices.adobe.com.conf
@@ -0,0 +1,60 @@
+server
+{
+ listen 127.0.0.1:8080;
+ server_name localhost.youthvoices.adobe.com;
+
+ root /usr/local/sites/ayv/youthvoices.adobe.com/public;
+ index index.php index.html;
+
+ if (!-e $request_filename)
+ {
+ rewrite ^(.*)-([0-9]+)\.(css|js|png|swf|xml)$ $1.$3 break;
+ }
+
+ rewrite ^/about/impact/$ /about/?tab=impact;
+ rewrite ^/partners/sites/$ /partners/?tab=sites;
+ rewrite ^/gallery/.* http://tv.adobe.com/show/adobe-youth-voices/;
+
+ error_page 404 /error/notfound.php;
+
+ 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;
+ }
+
+ #passenger_enabled on;
+ #passenger_base_uri /hivelive;
+ #passenger_base_uri /galleries;
+ #passenger_base_uri /youth-media-gallery;
+
+ location ^~ /
+ {
+ proxy_pass_request_headers on;
+ proxy_ignore_headers Expires Cache-Control;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_pass_header Set-Cookie;
+ proxy_set_header Host $http_host;
+ proxy_pass http://youthvoices;
+
+ gzip on;
+ gzip_min_length 1000;
+ gzip_proxied expired no-cache no-store private auth;
+ gzip_types text/plain text/css application/xml application/json application/javascript;
+ gzip_disable "MSIE [1-6]\.";
+
+ if (-f $request_filename)
+ {
+ break;
+ }
+ }
+
+ gzip on;
+ gzip_min_length 1000;
+ gzip_proxied expired no-cache no-store private auth;
+ gzip_types text/plain text/css application/xml application/json application/javascript;
+ gzip_disable "MSIE [1-6]\.";
+
+}

0 comments on commit 777003d

Please sign in to comment.