diff README.md @ 366:26545fe719ca

Remove caching system. Too much complexity for something that is really simple.
author edogawaconan <me@myconan.net>
date Sat, 14 Feb 2015 01:35:45 +0900
parents a0166874e31e
children 62f2a4b27af6
line wrap: on
line diff
--- a/README.md	Sat Feb 14 01:23:36 2015 +0900
+++ b/README.md	Sat Feb 14 01:35:45 2015 +0900
@@ -18,56 +18,12 @@
 Optional:
 
 * Newrelic account
-* memcached
-
-Suggested:
-
-* nginx
 
 Installation
 ------------
 
 Left as an exercise.
 
-nginx configuration
--------------------
-
-Here's nginx configuration snippet which use memcached to completely bypass Rails.
-
-    server {
-      server_name 0paste.com;
-      listen 80; listen [::]:80;
-      root /var/www/0paste.com/public;
-      error_page 445 = @zp;
-      error_page 404 /404.html;
-
-      if ($request_method = POST) {
-        return 445;
-      }
-
-      location / {
-        expires max;
-        try_files $uri @zp;
-      }
-
-      location ~ /(\d+(?:-\x+)?)(?:(\.txt)|\.html)?$ {
-        expires max;
-        charset utf-8;
-        set $memcached_key "zeropaste:pastes:$1$2";
-        memcached_pass localhost:11211;
-
-        default_type text/html;
-        error_page 404 502 = @zp;
-      }
-
-      location @zp {
-        proxy_pass http://localhost:9200;
-        proxy_set_header X-Forwarded-For $remote_addr;
-        proxy_set_header Host $host;
-        proxy_intercept_errors on;
-      }
-    }
-
 Misc
 ----