Welcome! Log In Create A New Profile

Advanced

Re: memcached settings

xgdlm
July 01, 2009 07:38PM
Hello,

http://wiki.nginx.org/NginxHttpMemcachedModule

server {
listen 10.176.67.151:80;
server_name www.mysite.com;

location @fallback {
proxy_pass http://10.176.67.151:8080/;
include /etc/nginx/proxy.conf;
}

location / {
set $memcached_key $uri;
memcached_pass 127.0.0.1:11212;
error_page 404 = @fallback;
error_page 502 = @fallback;

}
location /static/ {
alias /home/django/broadway.com/broadway/static/;
expires 1d;
}
location /media/ {
alias /home/django/broadway.com/src/django/django/contrib/
admin/media/;
expires 1d;
}
}

xav

Le 2 juil. 09
Subject Author Posted

memcached settings

vburshteyn July 01, 2009 04:24PM

Re: memcached settings

Jérôme Loyet July 01, 2009 04:50PM

Re: memcached settings

vburshteyn July 01, 2009 07:28PM

Re: memcached settings

xgdlm July 01, 2009 07:38PM

Re: memcached settings

XUFENG July 01, 2009 09:15PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 263
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready